Skip to main content
100%

Tutorial fork

✓ Published0🌍 Public
JJosh-B-Creative
Last edited Jan 4, 2022
Created on Jan 4, 2022
Forked from Hello VizHub

This example demonstrates the fundamental capability of VizHub to load external libraries and execute modular JavaScript code. It uses D3.js version 5, imported directly from a CDN, to select an HTML element and set its text content. The program also imports a local ES6 module named `message.js`, which exports a string that is rendered inside a styled div. The visualization simply displays the text "Hello VizHub!" centered on the page using CSS, illustrating basic D3 selection and DOM manipulation along with local module 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