Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 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.
MIT Licensed

Similar vizzes