Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 8 - Country Map

Public visualization

ICE 8 - Country Map

0 stars1🌍 Public
PPriyanka7002
Last edited Apr 4, 2022
Created on Apr 3, 2022

This example displays a map of the United States rendered as purple state outlines on a black background using a geographic projection. The code loads US state boundaries from a TopoJSON file via D3 v4 and topojson-client, then draws them as SVG paths with `d3.geoPath` and a `geoAlbersUsa` projection. State shapes are filled purple with thin gray strokes, positioned within an SVG container sized relative to fixed margins.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed