Skip to main content
100%

Fork of ICE 8 - Country Map

✓ Published1🌍 Public
GGalineeharika
Last edited Apr 10, 2023
Created on Apr 10, 2023

This example displays a static map of the United States with all states filled in red, rendered as SVG paths on a light green background. The map is generated using D3.js version 4, employing the `d3.geoPath` projection with the `d3.geoAlbersUsa()` projection function to properly center the contiguous states and Alaska. It loads GeoJSON state boundaries from the us-atlas dataset via `d3.json` and processes them with the topojson-client library to extract the state features. The visualization is a simple, non-interactive choropleth without additional data encodings.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes