Skip to main content
100%

Fork of Hello VizHub

✓ Published1🌍 Public
PPY09052021
Last edited Mar 6, 2022
Created on Mar 6, 2022
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup where a single text element is updated directly through the library. The code imports the `select` function from D3.js and uses it to target the `#message` div, setting its content to the string `'Hello VizHub!'` from a local ES6 module. The text is centered and displayed at a large font size using an external CSS file. The page loads D3 version 5.16.0 from a CDN and relies on a pre-built bundle for execution.

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