Skip to main content
Public

Share visualization

Loading preview…

TopoJSON - Rajan

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

TopoJSON - Rajan

1
Kkhushburajan2015@gmail.com
Last edited Nov 6, 2025
Created on Nov 6, 2025
Forked from React & D3 Starter

A world map choropleth visualizes population estimates by country, with countries colored on a blue sequential scale, while nations lacking data appear in gray. The example loads country boundaries from TopoJSON via the `topojson-client` library and renders them with `d3.geoPath` in an SVG, applying a Mercator projection. Interactive tooltips display each country’s population value on mouse hover. The color mapping is derived from a `d3.scaleQuantize` scheme, and the map includes a graticule overlay for reference.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed