d3/examples/data
Mike Bostock 7ac1ae7c77 Merge remote-tracking branch 'origin/delimiter-separated-values' into 2.10.0 2012-08-08 17:36:01 -07:00
..
README.md Better world-countries.json. 2011-09-27 11:59:42 -07:00
faithful.json Move data files and delete symlinks. 2011-07-06 20:29:48 +01:00
flare-imports.json Move flare-imports.json to the data folder. 2011-07-04 09:41:32 -07:00
flare.json Move data files into examples directory. 2011-07-02 16:31:12 -07:00
morley.csv Move data files and delete symlinks. 2011-07-06 20:29:48 +01:00
sample.csv Add tests for xhr and friends. 2011-08-16 22:28:15 -07:00
sample.html Add tests for xhr and friends. 2011-08-16 22:28:15 -07:00
sample.json Add tests for xhr and friends. 2011-08-16 22:28:15 -07:00
sample.tsv Add d3.tsv for tab-separated values. 2012-06-28 12:58:39 -07:00
sample.txt Add tests for xhr and friends. 2011-08-16 22:28:15 -07:00
sample.xml Add tests for xhr and friends. 2011-08-16 22:28:15 -07:00
stocks.csv Add example data. 2011-08-19 14:02:47 -07:00
unemployment.csv Add example data. 2011-08-19 14:02:47 -07:00
us-borders.json Initial version of Dorling cartogram example. 2011-07-08 21:55:31 +01:00
us-counties.json Merge counties into MultiPolygons as needed. 2012-07-30 17:05:24 -07:00
us-state-centroids.json Cleanup us-state-centroids.json. 2011-09-27 12:13:40 -07:00
us-states.json Add state names. 2011-10-17 13:27:57 -04:00
world-countries.json Use administrative name rather than sovereignty. 2011-09-27 12:06:23 -07:00

README.md

World Boundaries

These are derived from the public domain Natural Earth cultural vector files, 110m resolution. Then, ogr2ogr was used to convert to GeoJSON. Lastly, the data was cleaned up slightly, removing extra properties and a degenerate edge from Antarctica.

collection.features.forEach(function(d, i) { d.id = d.properties.ISO_A3; d.properties = {name: d.properties.SOVEREIGNT}; });

United States Boundaries

These are derived from the cartographic boundary files from the 2000 U.S. Census. Then, MapShaper was used to simplify the geometry, and ogr2ogr to convert the shapefiles to GeoJSON. Some additional work was done to preserve the FIPS codes, which are dropped from the shapefiles by MapShaper.