/us-atlas

Pre-built TopoJSON from the U.S. Census Bureau.

Primary LanguageShellOtherNOASSERTION

U.S. Atlas TopoJSON

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.

Usage

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

File Reference

# us/10m.json <>

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.

# us/states-10m.json <>

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