• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

eagereyes

Visualization and Visual Communication

  • Explore
    • Starter Pack
    • Blog Calendar
    • Blogroll
    • eagereyesTV YouTube Videos
  • Practical
    • Basics
    • Pie Charts
    • Techniques
    • Book Reviews
    • Journalism
  • Academic
    • Speaking Mistakes
    • Acceptance Rates
    • Papers
    • Conference Reports
    • Lists of Influences
    • Criticism
    • Peer Review
  • Admin
    • About
    • Contact
    • License

Robert Kosara / January 3, 2007

Improved US ZIPScribble Maps, more Countries to Come

The ZIPScribble Maps of the US obviously hit a nerve, with over 55,000 unique visitors in about two weeks, and more than 70 comments. There was also some criticism, especially regarding some slight problems with coloring the states, and that some of the dividing lines were not, in fact, state lines (and that it was not easy to compare them to state lines). For reasons of convenience, I had also left out Alaska and Hawaii, and there were requests for similar maps for more countries. The US maps have just been updated to solve almost all of the above problems (except for AK and HI, which are included in separate maps for now), and ZIPScribbles for several other countries will be published in the next few days. An interactive version is also in the works.

The biggest headache were certainly the two missing states. While finding map data for the states was not all that hard, moving Alaska without completely distorting it was another thing entirely. I put a lot of work into this update, and can’t invest any more time right now. I will, however, add a map of all the states at a later time.

I did add a backdrop that shows the outlines of the states. Printing a thin gray line did not work very well on the printers I tried, so I opted for the area rather than the line approach. The lines are only just visible, but that was my intention – I did not want to make them stand out too much. The coloring is already quite strong.

The issue with coloring neighboring states with the same color in two instances was solved by adding a little interactivity to my program so that I could cycle through colors for a state, and and save all the colors once I was satisfied with them. This was certainly much less work than implementing a graph coloring algorithm, but not because of that algorithm, but because creating the graph of neighboring states does not appear to be all that straight-forwward. Since states don’t change much, I am happy with this approach.

I also changed the projection several times, and am now back to a Mercator projection, which has its center in the center of gravity of all the ZIP points. This appears to be pretty well in line with many other maps you see, though there is some variation. Note the straight border with Canada now.

Maps for other countries are certainly high on my priority list, but this is made difficult by the fact that location data for postal codes is very hard to obtain for places other than the US. The fine folks at geonames.org have done an incredible job collecting that (and a huge amount of other) data. This is still limited to relatively few countries though, and then to the ones where there is enough precision in the data to make a decent map. Right now I have usable data for Australia, Austria, Canada, France, Germany, Italy, the Netherlands, Norway, Spain, and Switzerland. I have a few more datasets, but these are not yet in a state where they produce believable images, and even some of the ones listed above contain visible errors. Still, the mere existance and availability of that data is a minor miracle, and I am quite happy with the results.

For an interactive version of the map, I experimented a bit with Google Maps. The problem is that it just can’t handle overlays with so many points, it only works reasonably well for very sparsely populated countries like Canada and Australia. I will therefore make my program into a Java applet, and put that on here. This is going to take a bit more time, but should happen before the end of January.

Filed Under: Blog 2007

Robert Kosara is Data Visualization Developer at Observable. Before that, he was Research Scientist at Tableau Software (2012–2022) and Associate Professor of Computer Science (2005–2012). His research focus is the communication of data using visualization. In addition to blogging, Robert also runs and tweets. Read More…

Reader Interactions

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

More Blog 2007 Articles

  • Expressive Visualization, Updated Presidents Chart
  • InfoVis 2007: InfoVis for the Masses
  • Further Steps Towards World Visualization Day
  • InfoVis Panel: The Impact of Social Data Visualization
  • A Nobel Prize for Charts

Recently Popular

  • Data: Continuous vs. Categorical
  • The Simple Way to Scrape an HTML Table: Google Docs
  • The US ZIPScribble Map
  • New, Improved Traveling Presidential Candidate Map
  • How The Rainbow Color Map Misleads
  • New video: Gauges for Data Visualization, The NY Times Election Needle, and Circular Bar Charts
  • Watch My Outlier Talk: This Should Have Been A Bar Chart!
  • Facebook
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • YouTube

Subscribe via Email

Footer

  • About
  • Contact
  • License

Copyright © 2006–2022 Robert Kosara · All original materials are available under CC-BY-SA