Skip to main content
100%

Activity 8 Task 5.2

✓ Published0🌍 Public
Ssreekarthanda@gmail.com
Last edited Jul 18, 2023
Created on Jul 18, 2023
Forked from Hello VizHub

This example displays a choropleth map of India rendered as an SVG using D3 v5 and TopoJSON. It loads world country geometries from the world-atlas dataset, isolates India by finding its feature in the geographic data, and applies a Mercator projection fitted to the country’s bounds. The map is drawn with d3.geoPath, while topojson.feature extracts the relevant geometry for rendering.

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