Skip to main content
100%

activity 6_Task 1

✓ Published0🌍 Public
Pp99vijaya@gmail.com
Last edited Oct 23, 2024
Created on Oct 23, 2024

This example renders a simple "Hello VizHub!" message in large text, centered on the page. It demonstrates fundamental VizHub capabilities: loading D3.js v5 via UNPKG, importing the `select` function from D3, and importing a local ES6 module (`myMessage.js`) that exports the message string. The code also includes a regular expression and an unused variable. The D3 `select` API targets the message div in `index.html`, while `styles.css` controls the text alignment and font size.

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