ICE8 NIHA
This example displays a world choropleth base map using the Natural Earth projection, offering a visually balanced view of global landmasses and country borders. The visualization loads country boundary data from the world-atlas TopoJSON file via `d3.json`, then converts it to GeoJSON features using `topojson.feature` and mesh borders with `topojson.mesh`. The projection is applied through `d3.geoNaturalEarth1()` and paths are generated with `d3.geoPath`, while the SVG output renders land polygons with hover tooltips and boundary lines through D3's selection and joining API.
AI-generated descriptionICE-8 Q1.1 — World Map (Natural Earth)
What this shows: A world choropleth base (no colors yet) using the Natural Earth projection.
Why this projection? Natural Earth gives a visually balanced world view with a good compromise between shape and area.
How to run
- Use the provided
index.html(with importmap) andstyle.css. - Paste this
index.jsand hit Run in VizHub.
Files
index.html— includes importmap +<svg id="viz">style.css— simple styles for land/bordersindex.js— draws countries + borders from world-atlas TopoJSON