Merging States II
✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Apr 18, 2013
A variation on merging polygons, this example displays a map of the United States where a selected set of states is highlighted in orange. The visualization uses a careful rendering technique rather than topological manipulation to draw the highlighted states, layering a boundary path over the state fill. It employs D3 v3's `d3.geo` and `d3.json` to load US state geometries, along with the TopoJSON library to compute state boundaries and meshes. The rendering is dynamic, with the selected states' boundaries outlined in black to clearly distinguish the merged region.
AI-generated descriptionA variation of merging polygons, this time using careful rendering rather than topological manipulation.
gpl-3.0 Licensed