Skip to main content
100%

Activity 8 Country

✓ Published0🌍 Public
UUVarshaReddy
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This example displays a single-country map of India projected with the Mercator projection. It fetches world country boundaries from the world-atlas TopoJSON data, extracts the India feature, and renders it as an SVG path using D3's geoProjection and geoPath APIs. The visualization demonstrates loading D3 v5 and topojson-client from CDNs, and fitting the map to a 960 by 500 pixel canvas.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes