Skip to main content
Public

Share visualization

Loading preview…

ICE 8: World Map with Topojson Data

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

ICE 8: World Map with Topojson Data

0
Bbharathsivakumar07
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from HTML Starter

This example displays an interactive world map using a natural Earth projection, with each country rendered as a distinct filled path. The visualization loads GeoJSON data from the world-atlas TopoJSON file, converts it using the `feature` method from topojson, and projects it with `d3.geoNaturalEarth1` and `d3.geoPath`. The SVG output includes a light sphere background and hover highlighting on countries, driven by CSS and D3 v5’s `select` and `data` binding.

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