Skip to main content
100%

Working with data

✓ Published0🌍 Public
Ssangar-si
Last edited Jan 2, 2022
Created on Jan 2, 2022
Forked from Hello VizHub

This example demonstrates the fundamental capabilities of VizHub, showing how to load D3 via a CDN and combine it with local ES6 modules. It imports the `select` function from D3 to set the text content of a div element, using a message string exported from a separate `myMessage.js` module. The rendered output is a single centered line of text, "Hello VizHub!", displayed at a large font size via CSS. The code highlights both external library integration and modular JavaScript organization within a visualization environment.

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