Skip to main content
100%

Activity6

✓ Published1🌍 Public
DDeekshitha Annreddy
Last edited Oct 22, 2024
Created on Oct 22, 2024

This example demonstrates basic D3.js setup and ES6 module usage within a VizHub template. It loads D3 v5 from UNPKG and uses the `select` function from the `"d3"` import to update the text content of a `#message` div with a string exported from a local module. The page renders a large, centered “Hello VizHub!” message styled via CSS, showing how to combine external libraries, local imports, and styles in a single visualization harness.

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