Skip to main content
100%

USA Country Map

✓ Published0🌍 Public
NNaveenrajaYalagandula
Last edited Apr 3, 2022
Created on Apr 3, 2022

This visualization displays a map of the United States, with each state rendered as a green SVG path that turns darker on hover and includes a tooltip showing the state name. The map uses D3 v5’s `geoAlbersUsa` projection and `geoPath` to draw the geography from TopoJSON data loaded via `d3.json`. State boundaries appear in blue with partial opacity, and the example demonstrates basic data binding with `selectAll`, `enter`, and `append` to create the paths.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes