Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 8 Country

Public visualization

Activity 8 Country

1 star0🌍 Public
JJayanthKumarkoni
Last edited Jul 23, 2023
Created on Jul 23, 2023
Forked from Hello VizHub

This example renders a simple choropleth-free map of India using D3.js version 5 and the TopoJSON client library. It loads world country boundaries from the world-atlas package, filters the geometry for India, and applies a Mercator projection fitted to a 960 by 500 pixel canvas. The resulting SVG path is drawn with `d3.geoPath`, demonstrating the direct use of geographic projections and TopoJSON feature extraction without additional styling or data overlays.

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.

Comments

Sign in to join the discussion.

MIT Licensed