Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

World Map

0 stars0🌍 Public
PPaul Mascall
Last edited Mar 11, 2022
Created on Mar 11, 2022

A world map visualization renders the countries of the world as filled paths using the `geoEqualEarth` projection and `geoPath` from D3. The map is drawn with SVG, with each country’s boundary stroked in a teal color. The data comes from the world-atlas TopoJSON dataset, which is fetched via `d3.json` and converted to GeoJSON features using the `topojson` library’s `feature` function. The visualization is built within a React application, where the `Marks` component maps each feature to a SVG `<path>`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed