Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task_2: ICE 8 - US Country Map

Public visualization

Task_2: ICE 8 - US Country Map

0 stars0🌍 Public
Ssrinivasaraosankula
Last edited Mar 27, 2023
Created on Mar 27, 2023

This example shows a map of U.S. states, rendered as orange filled paths with gray outlines against a light blue ocean background. It uses the D3 v4 library with the `d3.geoPath` projection (`d3.geoAlbersUsa`) to draw the state boundaries, and loads TopoJSON data from the `us-atlas` package via `topojson-client`. The states are appended as SVG paths within a single `<svg>` element, with the map centered using explicit translation and scale parameters.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed