Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of USA Country Map

Public visualization

Fork of USA Country Map

0 stars0🌍 Public
YYerlan Yeszhanov
Last edited Nov 25, 2022
Created on Nov 25, 2022
Forked from USA Country Map

This choropleth displays the 50 U.S. states, each filled in green with white interior borders, and highlights states in orange on hover. It uses a geospatial projection via `geoAlbersUsaTerritories()` and renders the map with `d3.geoPath` on an SVG canvas. State boundaries come from the US Atlas TopoJSON dataset, which is loaded with `d3.json` and processed through TopoJSON’s `feature` and `mesh` functions. The React app manages data loading with `useState` and `useEffect` hooks.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed