Skip to main content
100%

activity 7.1 T

✓ Published0🌍 Public
Ggketan456@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, displaying the static text “Hello VizHub!” in the center of the page. It loads D3 v5 via UNPKG and uses the `select` API to set the text content of a `div` element with id `message`. The example also showcases local ES6 module imports through a separate `myMessage.js` file, which exports the message string, and includes a CSS stylesheet for large, centered typography.

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