Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Vvangenned
Last edited Aug 2, 2022
Created on Aug 2, 2022
Forked from Hello VizHub

This example demonstrates a minimal D3.js visualization that renders the text “Hello VizHub!” inside a centered HTML div. It shows how to combine a modern ES6 module structure with a library loaded from a CDN, importing the `select` function from D3 and a custom string from a local `myMessage.js` module. The code uses `select('#message').text()` to update the DOM, with styling defined in `styles.css` for large, centered typography. It serves as a foundational template for building interactive visualizations within the VizHub platform.

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