Skip to main content
100%

Assignment 2.6.2

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

This example displays a choropleth map of Nepal, rendered as a green SVG path with a red stroke. It fetches the world-atlas GeoJSON dataset from a CDN and isolates the Nepal geometry using TopoJSON. The code projects the shape with a Mercator projection via `d3.geoMercator` and draws it using `d3.geoPath`, styling it with inline attributes.

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