Skip to main content
Public

Share visualization

Loading preview…

Fork of Hello VizHub

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 Hello VizHub

0
HHaowenWeiJohn
Last edited Jan 31, 2021
Created on Jan 31, 2021
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup that renders a text message centered on the page using the `select` function. It loads D3 v5 via a CDN link in the HTML and imports both the `select` API and a local ES6 module exporting a string. The code then sets the text content of a `div` element with the ID `message` to display “Hello VizHub!”, with styling from an external CSS file. The visualization shows how to combine external libraries, module imports, and DOM manipulation in a single page.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed