Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

USA Map -Aishwarya M

Public visualization

USA Map -Aishwarya M

0 stars0🌍 Public
AAishwarya Manjunath
Last edited Apr 3, 2022
Created on Apr 3, 2022

This example displays a map of the United States on an orange background, rendered as a single green SVG path. It fetches world country boundaries from a TopoJSON file via `d3.json`, filters the data to the United States, and projects it using `d3.geoAlbersUsa` with `d3.geoPath`. The visualization uses D3 v5 and TopoJSON’s `feature` method to convert the TopoJSON topology into GeoJSON features for rendering.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed