Skip to main content
100%

Hello VizHub

✓ Published0🌍 Public
Mmanchuran
Last edited Dec 22, 2020
Created on Dec 22, 2020
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, displaying the text “Hello VizHub!” centered in the page. It loads D3 v5 from UNPKG and uses the `select` API to target the `#message` div, setting its content from a local ES6 module. The code imports a custom `message` constant from `myMessage.js` and applies styling via an external CSS file. The visualization shows how to combine CDN-hosted libraries with modular JavaScript imports.

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