Skip to main content
100%

ICE 8: World Map with Topojson Data

✓ Published0🌍 Public
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.

MIT Licensed

Similar vizzes