Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Project

Public visualization

Viewing a saved revision (read-only)

ffec54738a07478aac1028c71fa52f9a

Project

0 stars0🌍 Public
MMukund Khandelwal
Last edited Oct 14, 2018
Created on Oct 14, 2018

This example displays a world map with countries filled in light green, rendered on a blue spherical backdrop. The map allows panning and zooming through the d3 zoom event, which applies a transform to the map group. The visualization uses the `d3.geoPath` and `d3.geoNaturalEarth1` APIs to project geographical data, and the `topojson.feature` function to convert TopoJSON into GeoJSON features. Country names are loaded from a TSV file from the world-atlas package and displayed as tooltips via SVG `title` elements.

AI-generated description