Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

papa world map using geoEquirectangular

Public visualization

Viewing a saved revision (read-only)

906e60688f3842da8770275906a6f485

papa world map using geoEquirectangular

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

This example displays a world map using the geoEquirectangular projection, with countries rendered as white shapes outlined in black against a light blue background. The visualization loads geographic data from a TopoJSON file hosted via CDN, then uses d3.geoPath and d3.geoEquirectangular to project and draw the map onto an SVG canvas. A sphere path is also added to outline the globe’s boundary. The code relies on D3 v5 and TopoJSON’s feature method to convert the data into GeoJSON for rendering.

AI-generated description