Skip to main content
Public

Share visualization

Loading preview…

Q1 module 8

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

Q1 module 8

0
RRuthvik Bairaboina
Last edited Nov 9, 2025
Created on Nov 9, 2025
Forked from D3 Starter

This example shows a simple choropleth world map of population for three countries: the United States, India, and China. A Mercator projection via `d3.geoMercator` and `d3.geoPath` renders the embedded GeoJSON polygons. Each country’s fill uses a sequential color scale with `d3.interpolateBlues` based on population values from an in-memory JavaScript object. Hovering reveals a tooltip with country name and population via SVG `<title>` elements.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed