Skip to main content
100%

Let's make an interactive US Map with D3.js!

✓ Published0🌍 Public
KKaitlyn Trudeau
Last edited Sep 17, 2020
Created on Sep 17, 2020

This interactive US map uses d3.geoAlbersUsa and d3.geoPath to render state boundaries from TopoJSON data, with each state displaying its name via SVG title elements. The visualization supports zooming and panning through d3.zoom, applying transforms to the SVG group containing the state paths. States are colored light green and highlight on hover, while the surrounding ocean appears as a light blue sphere backdrop. The map loads geographic data from a CDN-hosted US atlas file and renders everything client-side using D3 v5.

AI-generated description
MIT Licensed

Similar vizzes