Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6

Public visualization

Viewing a saved revision (read-only)

41f7ce6dcd974b9da7dcb95b7a7f6429

Activity 6

0 stars0🌍 Public
Nnishwitha.1032@gmail.com
Last edited Oct 21, 2024
Created on Oct 21, 2024
Forked from Hello VizHub

This example demonstrates a minimal setup for a VizHub visualization using D3.js v5 and ES6 modules. It loads D3 from a CDN via UNPKG, then uses `select` from the `d3` import to target a `div` with `#message` and set its text content from a local ES6 module. A static message, "Hello VizHub!", is styled with CSS. The code also includes unused variables and a regex, but no dynamic data or rendering is performed.

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.