Skip to main content
100%

Fork of Fork of Hello VizHub

✓ Published1🌍 Public
Vvineelaramulapalli32
Last edited Jul 1, 2023
Created on Jul 1, 2023
Forked from Transforming Data

This example demonstrates the foundational workflow of VizHub, showing how a web page loads D3 and integrates local ES6 modules. It uses D3 v5, imported via `select` from the `d3` package, to set the text content of a `div` element with the ID `message`. The text originates from a separate local module, `myMessage.js`, which exports the string "Hello VizHub!". The rendering is purely DOM-based, with an HTML file linking a CDN-hosted D3 script and a bundled JavaScript file, plus a CSS stylesheet to center the output.

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