Skip to main content
100%

Fork of Activity-6

✓ Published0🌍 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.
MIT Licensed

Similar vizzes