Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars1๐ŸŒ 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

Comments

Sign in to join the discussion.

MIT Licensed