This free Google Sheet is a great resource to generate scales on piano or guitar. Choose the Scale and Key from a dropdown, and the Google Sheet creates the notes highlighted both on a virtual keyboard as well as written out in a table.
Instructions
In order to use the document you will need to make a copy of the file (File > Make a copy ). It is protected in order to ensure that the document is not edited as the formulas are semi-complex. An accidental edit can render it obsolete, so there is always a functioning version with this link if ctrl+z doesn't solve the issue.
Author Note: Many people pointed out that the file does not include flats, and it was an error on my behalf. With the feedback, most of you gave (Thank you! btw), I am going to work on a Visualizing Scales 2.0. I'll do my best to ensure that the flat notes are not the only new features but if you would like to see anything else in the document please let me know!