This repository provides a convenient mechanism for generating TopoJSON files from the Census Bureau’s cartographic boundary shapefiles, 2017 edition. For the 2015 edition, use us-atlas@1.
In a browser, using d3-geo and SVG:
https://observablehq.com/@d3/u-s-map
In a browser, using d3-geo and Canvas:
https://observablehq.com/@d3/u-s-map-canvas
In Node, using d3-geo and node-canvas:
https://bl.ocks.org/mbostock/885fffe88d72b2a25c090e0bbbef382f
A TopoJSON topology containing the geometry collections counties, states, and nation. The geometry is quantized, projected using d3.geoAlbersUsa to fit a 960×600 viewport, and simplified. This topology is derived from the Census Bureau’s cartographic county boundaries, 2017 edition. The state boundaries are computed by merging counties, and the nation boundary is computed by merging states, ensuring a consistent topology.
A TopoJSON topology containing the geometry collections states and nation. The geometry is quantized, projected using d3.geoAlbersUsa to fit a 960×600 viewport, and simplified. This topology is derived from the Census Bureau’s cartographic county boundaries, 2017 edition. The nation boundary is computed by merging states, ensuring a consistent topology.
# us.objects.counties
# us.objects.states
# us.objects.nation