Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Lluyang93
Last edited Nov 4, 2022
Created on Nov 4, 2022
Forked from Hello VizHub

This example demonstrates how to set up a minimal D3.js visualization within the VizHub environment. It displays a static text message, “Hello VizHub!”, centered on the page using CSS. The code shows the integration of D3 v5 loaded via UNPKG, alongside local ES6 modules and stylesheets. It uses the `d3.select` method to target a `div` element and update its text content, with the message imported from a separate JavaScript module.

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