Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map Vaishnavi

Public visualization

Viewing a saved revision (read-only)

5ac83e9c164c4efc862a4f79ae20977f

World Map Vaishnavi

0 stars0🌍 Public
VVaishnavi6199
Last edited Apr 4, 2022
Created on Apr 4, 2022

This example displays a green world map rendered as SVG paths on a white background, with each country outlined in black. It loads geographic data from the world-atlas TopoJSON dataset and converts it to GeoJSON using the `feature` method from topojson. The map is drawn with `d3.geoPath` and a `geoNaturalEarth1` projection, with countries appended as path elements carrying the class `country`. The visualization uses d3.v5 and demonstrates a straightforward approach to choropleth-free geographic mapping.

AI-generated description