🌍 Public
Viewing a saved revision (read-only)
e653e8a75905452d97e8e99db7aa4b00
Let's make a US map with D3.js!
This example renders a map of the United States using state boundaries. The map is drawn as black paths with white strokes on an SVG canvas. The code loads GeoJSON state outlines from the `us-atlas` package, converts them into topological features with the `topojson` library, and projects them using `d3.geoAlbers` with `d3.geoPath` for rendering. The visualization demonstrates a basic choropleth-ready framework without additional data encoding.
AI-generated description