Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity8_Task5_2

Public visualization

Viewing a saved revision (read-only)

80c37105803541519331ab6cec8cc79c

Activity8_Task5_2

0 stars0🌍 Public
Cchsaisriharsha@gmail.com
Last edited Jul 12, 2023
Created on Jul 12, 2023
Forked from Activity8_Task5_1

This visualization displays a map of the United States of America as a single geographic entity. It uses D3 version 5 along with the topojson-client library to extract the country’s boundary from a world-atlas TopoJSON file. The map is rendered as an SVG path using a Mercator projection (fit to a 1700×400 size) via `d3.geoMercator` and `d3.geoPath`. The final SVG element is added to the page with a width of 900 and height of 500 pixels.

AI-generated description

A demonstration of how to start using D3 version 6.