Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of D3 world map example with TopoJSON to GeoJSON and circular indicators

Public visualization

Fork of Fork of Fork of D3 world map example with TopoJSON to GeoJSON and circular indicators

0 stars0🌍 Public

This example displays a U.S. map with circular indicators, initially showing population-based circles over state boundaries. It converts TopoJSON to GeoJSON using `feature` and `mesh` from `topojson`, while `d3.geoPath` renders the SVG shapes. React hooks manage asynchronous data loading from a CDN via `d3.json`. The visualization uses `d3.scaleLinear` and `d3.scaleSqrt` to size and color the circles, though the render function currently outputs an empty SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed