Skip to main content
100%

Fork of Hello VizHub

✓ Published14🌍 Public
SShane Gibney
Last edited Jun 22, 2021
Created on Jun 22, 2021
Forked from Hello VizHub

This example displays the text “Hello VizHub!” centered in large type within a message div. It demonstrates VizHub’s fundamental workflow by loading D3.js v5 from UNPKG via a script tag and importing the `select` function from the `"d3"` module. The code also imports a local ES6 module, `myMessage.js`, which exports the displayed string. D3’s `select` method targets the `#message` element to set its text content, while CSS styles control font size and alignment.

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