Skip to main content
Public

Share visualization

Loading preview…

Fork of Map Chart With D3 (From Graph Gallery)

vizhub.com

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

Before sharing, review the publishing checklist.

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 & exportPNG, HTML, source ZIP

Fork of Map Chart With D3 (From Graph Gallery)

0
Eethanrampersaud@gmail.com
Last edited Aug 13, 2025
Created on Aug 13, 2025

This visualization displays the countries of the world as a green, SVG-based map. It uses a D3 Mercator projection via `d3.geoMercator` and renders borders with `d3.geoPath`. Overlaid on the map are purple connection lines, drawn as GeoJSON LineStrings, that link pairs of geographic coordinates. The map data comes from a remote GeoJSON file, while the connection data is loaded from a CSV, with the geographic paths and link lines rendered on an SVG canvas.

AI-generated description

NOTE: An implementation of the Map Chart using D3 found in the D3 Graph Gallery.

Comments

Sign in to join the discussion.

MIT Licensed