Skip to main content
Public

Share visualization

Loading preview…

World Map

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

World Map

0
Hharika-1929
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from ICE8 World Map

This example displays a world map rendered as an SVG using D3.js v5. It uses `d3.geoNaturalEarth1` for the projection and `d3.geoPath` to draw country boundaries from a TopoJSON file loaded via `topojson.feature`. The map includes a blue sphere outline and green country shapes with strokes. The code demonstrates fundamental data binding and path generation for geographic visualization.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

Comments

Sign in to join the discussion.

MIT Licensed