Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
BBobViz
Last edited Dec 30, 2022
Created on Dec 30, 2022
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within the VizHub environment, displaying the text “Hello VizHub!” centered on the page. It shows how to load D3 v5 from a CDN, import specific API functions like `select` using ES6 module syntax, and import a local module (`myMessage.js`) that exports the displayed string. The page structure includes an HTML file with a dedicated `div`, a CSS file for styling, and JavaScript that chains `select` and `.text` to update the DOM.

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