Skip to main content
100%

ICE 8 - Country Map

✓ Published13🌍 Public
DDaniel Mata
Last edited Apr 3, 2022
Created on Apr 1, 2022
Forked from Hello VizHub

This example displays a choropleth map of the United States, rendering each state as a green SVG path against a light blue background to represent the ocean. The map is generated using React and D3 v4, employing `d3.geoPath` with a `d3.geoAlbersUsa` projection to position states accurately, including Alaska. State boundaries are drawn from TopoJSON data loaded from the us-atlas package via `topojson.feature`. The SVG is styled with a stroke for borders and a consistent fill color for all states.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes