Skip to main content
100%

Congressional District Topology

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Apr 4, 2014

This example visualizes the adjacency graph of U.S. congressional districts from the 113th Congress, drawing a node-link diagram atop a faded map of the country. District centroids serve as nodes, with edges connecting neighboring districts; districts off the map are excluded, and only links between earlier and later features are drawn. Built with d3.v3, the map uses d3.geo.albersUsa projection and d3.geo.path for rendering, while topological relationships are computed via topojson.neighbors and topojson.feature. The final graph is drawn as an SVG path, merging neighbor pairs with d3.merge.

AI-generated description
gpl-3.0 Licensed

Similar vizzes