Skip to main content
100%

Let's make a US map with D3.js!

✓ Published1🌍 Public
Ddaigokawabe
Last edited Aug 10, 2020
Created on Aug 8, 2020

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
MIT Licensed

Similar vizzes