The Sample Superstore is just for trialing Tableau and, as you can see, Superstore didn't have many sales in San Francisco. If you want to map all the San Francisco zip codes you will need to bring them in with your own data. I'm assuming since you want to color the zip codes by something that you probably have that data somewhere. If not you can always find zip codes from a site like Zip-Codes.com but you will have to add your own data to it in order to color by something. For your convenience I've attached an Excel file with those zip codes in case you do not have them already that you can use in Tableau.
Let me know if you have any questions.
San Francisco Zips.xlsx 10.4 KB
1 of 1 people found this helpful
Welcome to Tableau!
The Sample Superstore data set doesn't necessarily have all of the zip codes for San Francisco.
Here are the steps I took to produce a map of San Francisco with each zip code differentiated by color:
- Googled "list of zip codes for San Francisco", then put those into an excel file (just zip codes straight down one column)
- Dragged the excel file into Tableau
- Went to a worksheet
- Right clicked F1 (named F1 b/c I didn't name my excel column) and chose "geographic role" then "zip code/postcode"
- This lets Tableau know that these are zip codes
- Double clicked F1 to add it to the sheet
- Dragged F1 and dropped it on color in the marks sheet
- In the drop down under Marks, I chose "filled map"
It really starts getting fun when you use Tableau to ask questions of your data.
I hope this answers your question!
Here are some additional knowledge base articles about mapping if you want to dive further into this subject:
Thank you so much! It works
Thank you so much! It works!