Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Activity-6

Public visualization

Viewing a saved revision (read-only)

36f3dae56cc449c3885c8fe1d82f716a

Fork of Activity-6

0 stars0🌍 Public
Vvrushikarao03@gmail.com
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Activity-6

This example demonstrates how to load D3 via UNPKG and use ES6 modules to organize code in a minimal VizHub project. The page displays “Hello VizHub!” in large, centered text, styled with CSS. The code imports the `select` function from the `d3` namespace to manipulate the DOM, and imports a local `message` string from a separate ES6 module, showing how to combine external libraries with modular JavaScript. The implementation also includes a regular expression and a numeric constant to illustrate basic variable declarations.

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.