Skip to main content
Public

Share visualization

Loading preview…

project_nh

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

project_nh

0
NNavak94
Last edited Feb 28, 2023
Created on Feb 28, 2023

This example displays a globe with countries rendered in light green against a blue sphere, using SVG. The visualization leverages D3.js version 5 and TopoJSON to load and project geographic data. The code constructs the map using `d3.geoPath` and `d3.geoNaturalEarth1` for projection, while `d3.select` and `d3.arc` handle basic DOM manipulation. It demonstrates fundamental SVG element creation and styling through D3’s selection methods, with the final output framed in a fixed 960 by 500 pixel viewport.

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