Skip to content

Instantly share code, notes, and snippets.

@AshyIsMe
AshyIsMe / README.md
Last active December 15, 2015 15:38 — forked from mbostock/.block

Designed to be viewed from bl.ocks.org - http://bl.ocks.org/ashyisme/5282701

I've added random points to this map that animate through, enter(), update() and exit() data binding from d3js. This shows how to display points on a map directly from an array of latitude/longitude points: [[137, 80], [-80, 80] ...].

This map shows the Natural Earth Admin 0 - Countries shapefile at 50m resolution. Converted to TopoJSON, only 140K gzipped. Each country is identified by its ISO 3166-1 numeric code.