Skip to main content
100%

Fork of Fork of Hello VizHub

✓ Published0🌍 Public
Mmauleendertse@gmail.com
Last edited Apr 23, 2024
Created on Apr 23, 2024

This example demonstrates a minimal VizHub project that renders a static message. It loads D3.js via UNPKG and uses the `select` API from D3 to target a DOM element, then sets its text content with a string imported from a local ES6 module (`myMessage.js`). The code also defines an unused constant and regex literal. The message appears centered and large via the `styles.css` rule, with the HTML layout provided by `index.html`.

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