Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-8.5.2

Public visualization

Viewing a saved revision (read-only)

d1dff004c4354264b308770666daf88c

Activity-8.5.2

0 stars0🌍 Public
Ppjdhungana@gmail.com
Last edited Jul 19, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This example displays a map of Nepal, rendered as an SVG using a Mercator projection. It loads world-atlas GeoJSON data from a CDN and filters it for the Nepal geometry. The code uses D3 v5 functions like `d3.json`, `d3.geoMercator`, `d3.geoPath`, and the `topojson-client` library to project and draw the country's boundary.

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.