Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE8 World Map with Topojson data

Public visualization

ICE8 World Map with Topojson data

0 stars2🌍 Public
BBVNPK001
Last edited Apr 4, 2022
Created on Apr 3, 2022
Forked from HTML Starter

This example displays a world map using natural Earth projection, with countries rendered as filled paths and a stylized sphere outline. It loads GeoJSON country boundaries from the world-atlas TopoJSON dataset via a CDN, then converts the data using the `feature` function from TopoJSON. The visualization is built with React and D3 v5, leveraging `d3.geoNaturalEarth1` for projection and `d3.geoPath` to generate SVG paths. Country fills alternate between teal and red strokes, while the sphere background uses a light cyan fill.

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