Skip to main content
100%

Fork of Fork of Map

✓ Published0🌍 Public
Rreddysushma994@gmail.com
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from Fork of Map

This example shows a choropleth map of U.S. states, with each state filled by a categorical color from `schemeCategory10`. The code loads county-level TopoJSON data from the `us-atlas` CDN and renders the boundaries using `d3.geoPath` with an `geoAlbersUsa` projection. State features are extracted via `topojson.feature`, and each path’s fill is assigned by a `scaleOrdinal` based on the state name, with a tooltip title appended. The visualization demonstrates a straightforward integration of D3’s geospatial and scale APIs.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes