Skip to content

Commit

Permalink
Add ISO-3166 country codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jan 20, 2011
1 parent ca2e207 commit 9ae67c7
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 2 deletions.
247 changes: 246 additions & 1 deletion data/world-countries.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion examples/mercator/mercator.html
Expand Up @@ -62,7 +62,9 @@ <h3>Mercator Projection</h3>
.selectAll("path")
.data(collection.features)
.enter("svg:path")
.attr("d", path);
.attr("d", path)
.append("svg:title")
.text(function(d) { return d.properties.name; });

equator
.attr("y1", xy([0, 0])[1])
Expand Down

0 comments on commit 9ae67c7

Please sign in to comment.