Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
DDreamerking45
Last edited Aug 19, 2023
Created on Aug 19, 2023
Forked from Hello VizHub

This example demonstrates the minimal structure of a VizHub visualization, showing how to load D3 and display a text message on a web page. It combines D3's `select` API with a local ES6 module export to set the content of an HTML `div` element. The code imports `select` from D3 and a `message` string from a separate local module, then applies that message as the element’s text. Styling is handled via a linked CSS file, and D3 is sourced from UNPKG.

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