Skip to main content
100%

World Map

✓ Published1🌍 Public
KKtuzinowski
Last edited Jul 28, 2021
Created on Jul 28, 2021

This example displays a world map using a Natural Earth projection, rendering landmasses in teal with graticules and a light gray sphere background. Country borders appear as thin gray lines, with interiors drawn separately. The visualization loads GeoJSON from the world-atlas TopoJSON source, converting it with topojson’s `feature` and `mesh` APIs. React manages the component structure, while d3’s `geoNaturalEarth1`, `geoPath`, and `geoGraticule` handle projection, path generation, and grid lines. The SVG output is styled via CSS classes, with a loading state before data arrives.

AI-generated description

Scatterplot of iris dataset

MIT Licensed

Similar vizzes