Skip to content

Commit 9ae67c7

Browse files
committed
Add ISO-3166 country codes.
1 parent ca2e207 commit 9ae67c7

2 files changed

Lines changed: 249 additions & 2 deletions

File tree

data/world-countries.json

Lines changed: 246 additions & 1 deletion
Large diffs are not rendered by default.

examples/mercator/mercator.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ <h3>Mercator Projection</h3>
6262
.selectAll("path")
6363
.data(collection.features)
6464
.enter("svg:path")
65-
.attr("d", path);
65+
.attr("d", path)
66+
.append("svg:title")
67+
.text(function(d) { return d.properties.name; });
6668

6769
equator
6870
.attr("y1", xy([0, 0])[1])

0 commit comments

Comments
 (0)