Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task9&10

Public visualization

Viewing a saved revision (read-only)

1c1059dcf8294ed585355009738d89f1

Task9&10

0 stars0🌍 Public
Mmounikakatipally995@gmail.com
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Hello VizHub

This example demonstrates how to load D3 via UNPKG and use ES6 modules in a VizHub project. It imports the `select` function from D3 and a local `message` export from `myMessage.js`, then sets the text content of a `div#message` element to display "Hello VizHub!". The code also defines an unused constant and regular expression. The page uses a linked `styles.css` file to center the message and set its font size to 12em.

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.