Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6 -task2

Public visualization

Activity6 -task2

0 stars0🌍 Public
Vvrushikarao03@gmail.com
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This example demonstrates how a VizHub project loads D3 from a CDN and uses ES6 modules to organize code. It imports the `select` function from D3 and a custom `message` string from a local module, then sets the text of a `div` element with the ID `message` to display “Hello VizHub!”. The page styling centers the large text via CSS. The code also includes a regular expression and a numeric constant but does not use them in any visible behavior.

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.

Comments

Sign in to join the discussion.

MIT Licensed