Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
PPaolaAntonicoli
Last edited Feb 6, 2022
Created on Feb 6, 2022
Forked from Hello VizHub

This example demonstrates how VizHub projects can load D3 and use local ES6 modules, displaying a centered “Hello VizHub!” message. The code imports the `select` function from D3 and a custom `message` string from a separate `myMessage.js` module, then sets the text of the `#message` div via `select('#message').text(message)`. Styling is applied through an external `styles.css` file.

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