world-map-statistics.html 12.6 KB
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css" media="all">
    @import "/QA/2006/01/blogstyle.css";
    </style>
    <meta name="keywords" content='code, hacking, statistics, svg, world' />
    <meta name="description" content="Showing statistics on an SVG world map is recurrent. I would love to have a program to do that." />
    <meta name="revision" content="$Id: world-map-statistics.html,v 1.39 2011/12/16 03:02:44 gerald Exp $" />    
   <link rel="alternate" type="application/atom+xml" title="Atom" href="http://www.w3.org/QA/atom.xml" />
   <link rel="alternate" type="application/rss+xml" title="RSS 1.0" href="http://www.w3.org/QA/news.rss" />   
   <title>World Map and Statistics Challenge - W3C Blog</title>

   <link rel="start" href="http://www.w3.org/QA/" title="Home" />
   <link rel="prev" href="http://www.w3.org/QA/2008/03/w3c-team-planet.html" title="W3C Team Planet... or Galaxy" />
   <link rel="next" href="http://www.w3.org/QA/2008/03/pre-obsolete-design.html" title="Pre-Obsolete Design" />

   <!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
         xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description
    rdf:about="http://www.w3.org/QA/2008/03/world-map-statistics.html"
    trackback:ping="http://www.w3.org/QA/sununga/mt-tb.cgi/153"
    dc:title="World Map and Statistics Challenge"
    dc:identifier="http://www.w3.org/QA/2008/03/world-map-statistics.html"
    dc:subject="SVG"
    dc:description="Showing statistics on an SVG world map is recurrent. I would love to have a program to do that."
    dc:creator="Karl Dubost"
    dc:date="2008-03-24T05:17:51+00:00" />
</rdf:RDF>
-->

    <!-- <script type="text/javascript" src="http://www.w3.org/QA/mt.js"></script>-->

</head>
<body class="layout-one-column">
      <div id="banner">
      <h1 id="title">
	<a href="http://www.w3.org/"><img height="48" alt="W3C" id="logo" src="http://www.w3.org/Icons/WWW/w3c_home_nb" /></a>
W3C Blog
</h1>
    </div>
    
    <ul class="navbar" id="menu">
        <li><strong><a href="/QA/" title="W3C Blog Home">[ W3C Blog ]</a></strong></li>
        <li><a href="/QA/Library/" title="Documents and Publications on Web and Quality">Documents</a></li>
        <li><a href="/QA/Tools/" accesskey="3" title="Validators and other Tools">Tools</a></li>
        <li><a href="/2007/12/qa-blog-help/index#feedback">Feedback</a></li>
    </ul>
<div id="searchbox">
<form method="get" action="http://www.google.com/custom" enctype="application/x-www-form-urlencoded">
<p id="formbox"><input type="text" size="15" class="textfield" name="q" accesskey="E" maxlength="255" /> <input type="submit" class="submitfield" value="Search" id="goButton" name="sa" accesskey="G" /> <input type="hidden" name="cof" value="T:black;LW:72;ALC:#ff3300;L:http://www.w3.org/Icons/w3c_home;LC:#000099;LH:48;BGC:white;AH:left;VLC:#660066;GL:0;AWFID:0b9847e42caf283e;" /><input type="hidden" id="searchW3C" name="sitesearch" checked="checked" value="www.w3.org/QA" /><input type="hidden" name="domains" value="www.w3.org/QA" /></p>
</form>
</div>


    <div id="main"><!-- This DIV encapsulates everything in this page - necessary for the positioning -->

                     <p class="content-nav">
                        <a href="http://www.w3.org/QA/2008/03/w3c-team-planet.html">&laquo; W3C Team Planet... or Galaxy</a> |
                        <a href="http://www.w3.org/QA/">Main</a>
                        | <a href="http://www.w3.org/QA/2008/03/pre-obsolete-design.html">Pre-Obsolete Design &raquo;</a>
                     </p>

                        <h2 class="entry-header">World Map and Statistics Challenge</h2>
                           <div class="entry-body">
                              <p>Very often when you are working in an international organization, there are data that I want to represent on a <a href="http://en.wikipedia.org/wiki/Wikipedia:Blank_maps#World">world map</a>. I often end up doing it by hand, but there must be a code already existing somewhere.</p>

<p>My requirements are simple: </p>

<ul>
<li>A <a href="http://upload.wikimedia.org/wikipedia/commons/0/03/BlankMap-World6.svg">world SVG map</a> with country id codes</li>
<li>A (html) table with the list of countries and associated data</li>
<li>A scale where values in a specific range get a specific color</li>
</ul>

<p>Given this input I would like to get a colored map such as this <a href="http://www.monde-diplomatique.fr/cartes/eaupotable">map for drinkable water access</a> by Philippe Rekacewicz. </p>

<p>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. </p>

                           </div>
                           <div id="more" class="entry-more">
                              

                           </div>
                       <p class="postinfo">Filed by <a href="http://www.w3.org/People/karl/">Karl Dubost</a> on March 24, 2008  5:17 AM in <a href="http://www.w3.org/QA/archive/technology/svg/">SVG</a>, <a href="http://www.w3.org/QA/archive/w3cqa_news/tools/">Tools</a>, <a href="http://www.w3.org/QA/archive/w3cqa_news/w3c_life/">W3C Life</a><br />
<span class="separator">|</span> <a class="permalink" href="http://www.w3.org/QA/2008/03/world-map-statistics.html">Permalink</a>
                                 | <a href="http://www.w3.org/QA/2008/03/world-map-statistics.html#comments">Comments (6)</a>
                                 | <a href="http://www.w3.org/QA/2008/03/world-map-statistics.html#trackback">TrackBacks (0)</a>
</p>



<h3 class="comments-header" id="comments">Comments</h3>
<div class="comment" id="comment-124788">
<p class="comment-meta" id="c124788">
<span class="comment-meta-author"><strong>Frankie Roberto </strong></span>
<span class="comment-meta-date"><a href="#c124788">#</a> 2008-03-25</span>
</p>
<div class="comment-bulk">
<p>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. </p>

</div>
</div>


<div class="comment" id="comment-124793">
<p class="comment-meta" id="c124793">
<span class="comment-meta-author"><strong>Karl Dubost <a class="commenter-profile" href="http://www.w3.org/People/karl/"><img alt="Author Profile Page" src="http://www.w3.org/QA/sununga/mt-static/images/comment/mt_logo.png" width="16" height="16" /></a></strong></span>
<span class="comment-meta-date"><a href="#c124793">#</a> 2008-03-25</span>
</p>
<div class="comment-bulk">
<p>Hi Roberto,</p>

<p>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?</p>

</div>
</div>


<div class="comment" id="comment-124982">
<p class="comment-meta" id="c124982">
<span class="comment-meta-author"><strong>Owen Blacker </strong></span>
<span class="comment-meta-date"><a href="#c124982">#</a> 2008-03-26</span>
</p>
<div class="comment-bulk">
<p>There are loads of blank SVG world maps on the Wikimedia Commons; see <a href="http://commons.wikimedia.org/wiki/Category:Blank" rel="nofollow">http://commons.wikimedia.org/wiki/Category:Blank</a><em>SVG</em>maps<em>of</em>the_world — though I think they're all Mercator projections, not Peters.</p>

</div>
</div>


<div class="comment" id="comment-125610">
<p class="comment-meta" id="c125610">
<span class="comment-meta-author"><strong>Donna Antle </strong></span>
<span class="comment-meta-date"><a href="#c125610">#</a> 2008-03-27</span>
</p>
<div class="comment-bulk">
<p>Hi all,</p>

<p>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:
<a href="http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a003181958.htm" rel="nofollow">http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a003181958.htm</a></p>

<p>Thanks,
Donna Antle</p>

</div>
</div>


<div class="comment" id="comment-125671">
<p class="comment-meta" id="c125671">
<span class="comment-meta-author"><strong>Karl Dubost <a class="commenter-profile" href="http://www.w3.org/People/karl/"><img alt="Author Profile Page" src="http://www.w3.org/QA/sununga/mt-static/images/comment/mt_logo.png" width="16" height="16" /></a></strong></span>
<span class="comment-meta-date"><a href="#c125671">#</a> 2008-03-28</span>
</p>
<div class="comment-bulk">
<p>Yes owen, my link in the article goes to wikipedia.</p>

</div>
</div>


<div class="comment" id="comment-125672">
<p class="comment-meta" id="c125672">
<span class="comment-meta-author"><strong>Karl Dubost <a class="commenter-profile" href="http://www.w3.org/People/karl/"><img alt="Author Profile Page" src="http://www.w3.org/QA/sununga/mt-static/images/comment/mt_logo.png" width="16" height="16" /></a></strong></span>
<span class="comment-meta-date"><a href="#c125672">#</a> 2008-03-28</span>
</p>
<div class="comment-bulk">
<p>Hi Donna,</p>

<p>ah. that /is/ cool. I will give it a shot. </p>

</div>
</div>



  <div class="comments-open" id="comments-open">
<h3 class="comments-open-header">Leave a comment</h3>

<div class="comments-open-moderated">
   <p>
   Note: this blog is intended to foster <strong>polite
   on-topic discussions</strong>. Comments failing these
   requirements and spam will not get published. Please,
   enter your real name and email address. Every
   individual comment is reviewed by the W3C staff.
   This may take some time, thank you for your patience.
   </p>
   <p>
   You can use the following HTML markup (a href, b, i, 
   br/, p, strong, em, ul, ol, li, blockquote, pre) 
   and/or <a href="http://daringfireball.net/projects/markdown/syntax">Markdown syntax</a>.</p>
</div>

<div id="comments-open-data">
<form method="post" action="http://www.w3.org/QA/sununga/beach.pl" id="comments-form">
<h4>Your comment</h4>
<div id="comments-open-text">
  <textarea id="comment-text" name="text" rows="20" cols="100"></textarea><br />
<label for="comment-text">Write your comment text here. Remember, keep the discussion on topic and courteous.</label>
</div>

<h4>About you</h4>
<div id="comment-form-name">
  <input type="hidden" name="static" value="1" />
<input type="hidden" name="entry_id" value="163" />
<input type="hidden" name="__lang" value="en" /> 
<label for="comment-author">Your Name</label>
<input id="comment-author" name="author" size="30" value="" />
</div>
<div id="comment-form-email">
<label for="comment-email">Your Email Address</label>
<input id="comment-email" name="email" size="30" value="" />
</div>

<div id="comments-open-footer">
<input type="submit" accesskey="s" name="post" id="comment-submit" value="Submit" />

</div>
</form>
</div>
</div>



<p id="gentime">This page was last generated on $Date: 2011/12/16 03:02:44 $</p> 

      </div><!-- End of "main" DIV. -->

<address>

This blog is written by W3C staff and working group participants,<br />
&nbsp;and maintained by <a href="/People/CMercier/">Coralie Mercier</a>.<br />
Authorized parties may <a href="/QA/new">log in</a> to create a new entry.<br/>
<span id="poweredby">Powered by Movable Type, magpierss and a lot of Web Technology</span>
    </address>


    
    <p class="copyright">
      <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> &copy; 1994-2011
      <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a>&reg;
      (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>,
      <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>,
      <a href="http://www.keio.ac.jp/">Keio</a>),
      All Rights Reserved.
      W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
      <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>,
      <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a>
      and <a rel="Copyright" href="http://www.w3.org/Consortium/Legal/copyright-software">software licensing</a>
      rules apply. Your interactions with this site are in accordance
      with our <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Public">public</a> and
      <a href="http://www.w3.org/Consortium/Legal/privacy-statement#Members">Member</a> privacy
      statements.
    </p>

  </body>
</html>