Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Fork of Hello VizHub

0 stars0🌍 Public
Pppal41366@gmail.com
Last edited Jul 3, 2024
Created on Jul 3, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js web page that displays the message “Hello VizHub!” centered in a large font. It loads D3 from the UNPKG CDN and uses the `select` function from the `d3` library to set the text content of a `div` element. The example also imports a local ES6 module, `myMessage.js`, to supply the message string, and uses a linked stylesheet, `styles.css`, to control the text’s alignment and size. The code highlights basic D3 selection and DOM manipulation without any data or complex rendering.

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