Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

fdc79388206a4199a1d82d61766a2112

Fork of Hello VizHub

0 stars0🌍 Public
BBoni
Last edited May 6, 2021
Created on May 6, 2021
Forked from Hello VizHub

This example demonstrates a minimal D3.js visualization that renders an SVG element and displays the text "Hello world" in the DOM. It loads D3 v5 from UNPKG and uses the `d3.selectAll` API to target the SVG, though no visual marks are drawn. The code imports a local ES6 module (`myMessage.js`) to show modular JavaScript in a VizHub project. Styling is handled externally via CSS for the message div.

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.