Skip to main content
Public

Share visualization

Loading preview…

Fork of Nepal Map ICE8

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Nepal Map ICE8

0
RRinoj-Gautam
Last edited Apr 12, 2023
Created on Apr 12, 2023
Forked from Europe Map ICE8

This example displays a map of Canada rendered as SVG paths, with each province or territory filled white and outlined in grey. The code uses React for the page structure and D3 v5’s `d3.geoMercator` projection and `d3.geoPath` to convert GeoJSON features into drawable path data. GeoJSON is fetched from a remote GitHub source via `d3.json`, and the selected map geometry is appended to the SVG container. The visualization demonstrates a straightforward integration of D3’s geographic utilities within a React-based HTML setup.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed