Skip to main content
100%

Fork Hello VizHub

✓ Published0🌍 Public
HHLgorithm
Last edited May 17, 2023
Created on May 17, 2023
Forked from Hello VizHub

This example demonstrates how to set up a minimal VizHub visualization using D3 v5 and ES6 modules. It loads D3 from UNPKG and imports the `select` function to target a DOM element, while a local module exports a custom message string. The code renders the text " VizHub!" inside a styled div, with CSS centered and enlarged via the `#message` selector. It illustrates basic module imports, CDN library loading, and D3’s selection API for updating page content.

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