Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 8

Public visualization

Viewing a saved revision (read-only)

1b1a9c2575c4448a840b991068746d3b

activity 8

0 stars0🌍 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.