Skip to main content
Public

Share visualization

Loading preview…

DV Fork for geo for world

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

DV Fork for geo for world

1
PPallaviManupati
Last edited Apr 4, 2022
Created on Mar 30, 2022

This example renders a world map using a natural Earth projection in D3 v5. It loads TopoJSON country boundaries from a GitHub gist and converts them to GeoJSON features with the `topojson.feature` API. The visualization displays a blue sphere as the globe backdrop and yellow country shapes with black strokes, drawn via `d3.geoPath` and `d3.geoNaturalEarth1`. The map is presented as static SVG paths, with styling applied through CSS classes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed