Skip to main content
100%

activity 8

✓ Published0🌍 Public
Ppardha1411
Last edited Jul 10, 2023
Created on Jul 10, 2023
Forked from Hello VizHub

This example demonstrates the basic capabilities of VizHub by displaying the text "Hello VizHub!" prominently in the center of the page. Using D3 v5 loaded via UNPKG, the code imports the `select` function to target the HTML element with the ID `message` and sets its text content. The message itself comes from a local ES6 module, `myMessage.js`, which exports the string constant, and the styling is handled by an external 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