World Map and Statistics Challenge
Part of Corporate
Very often when you are working in an international organization, there are data that I want to represent on a world map. I often end up doing it by hand, but there must be a code already existing somewhere.
My requirements are simple:
- A world SVG map with country id codes
- A (html) table with the list of countries and associated data
- A scale where values in a specific range get a specific color
Given this input I would like to get a colored map such as this map for drinkable water access by Philippe Rekacewicz.
If it doesn't exist yet, it could be a nice and very useful tool for everyone else. If it exists, please leave a comment.
Hello. I've built a Flash file that does this (shades countries based on a XML file containing data). It took quite a while though.
Hi Roberto,
That's cool. Do you think it would be difficult to update it and output SVG?
Would you be ready to open source the code?
There are loads of blank SVG world maps on the Wikimedia Commons; see http://commons.wikimedia.org/wiki/Category:BlankSVGmapsofthe_world — though I think they're all Mercator projections, not Peters.
Yes owen, my link in the article goes to wikipedia.
Hi all,
Version 9.2 of SAS(R) now has support for SVG output. A World SVG map that you describe could be created using the gmap procedure from SAS/GRAPH software. More details about the SVG driver can be found in the SAS(R) 9.2 Language Reference: Concepts:
http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a003181958.htm
Thanks,
Donna Antle
Hi Donna,
ah. that /is/ cool. I will give it a shot.