Skip to main content
Public

Share visualization

Loading preview…

papa world map using geoEquirectangular

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportHTML, source ZIP

papa world map using geoEquirectangular

0 stars0Public
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

Comments

Sign in to join the discussion.

MIT Licensed