Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 Task3

Public visualization

Viewing a saved revision (read-only)

9576e3f4ed8a4ac78a1ab1c20586622a

Activity 6 Task3

0 stars0🌍 Public
Jjaideeptripurani12@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from task-2

This example demonstrates how to load D3 via UNPKG and use ES6 module imports to structure a simple VizHub project. It uses D3’s `select` function to set the text content of a div element, pulling a string from a local module. The page displays a large, centered “Hello VizHub!” message styled with CSS, with the D3 library imported directly and a local `myMessage.js` file providing the displayed text. The code also includes an unused numeric constant and regex, but no data visualization is shown.

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.