Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
SShiva Sai Reddy
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Hello VizHub

A minimal D3 example demonstrates how to load D3 v5 via UNPKG and use ES6 module imports in VizHub. The code imports `select` from the `d3` package and a local `message` constant from `myMessage.js`, then uses `select('#message').text(message)` to display “Hello VizHub!” in a styled div. The example also includes a regex literal and variable assignment, though these have no visible effect. It shows the basic structure of importing dependencies and local modules within this framework.

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