Skip to main content
100%

U.S. Counties TopoJSON

✓ Published0🌍 Public
Mmbostock
Last edited Dec 16, 2019
Created on Nov 21, 2012

This map displays the boundaries of every county in the United States using data from a TopoJSON file fetched from `https://d3js.org/us-10m.v1.json`. It renders the county shapes as filled SVG paths, with a white mesh overlay showing county borders via `topojson.mesh`. Hovering over any county turns it red. The visualization is built with D3 v4, using `d3.geoPath` to project the geometry and `topojson.feature` to extract the features, relying on the `us-atlas` TopoJSON data source.

AI-generated description

This map demonstrates the TopoJSON us-atlas. The same TopoJSON file can also be used to show states.

gpl-3.0 Licensed

Similar vizzes