Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 8 - Country Map_AK

Public visualization

Fork of ICE 8 - Country Map_AK

0 stars1🌍 Public
Aamulyakannam
Last edited Jul 10, 2022
Created on Jul 10, 2022

This example displays a map of the United States, rendered with orange state boundaries against a blue ocean background. The visualization uses D3 v4’s `d3.geoPath` and `d3.geoAlbersUsa` projection to draw the states from TopoJSON data loaded via `topojson.feature`. The map is positioned within an SVG container, with styling applied through CSS. The code reads the us-atlas states-10m dataset from a CDN and draws each state as a separate path element.

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