Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_8_Task8

Public visualization

Viewing a saved revision (read-only)

569aa53f4c154467afa3338575b2c8d2

Activity_8_Task8

0 stars0🌍 Public
Vvineelaramulapalli32
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

This example displays a large, centered "Hello VizHub!" message rendered in the browser, demonstrating basic D3.js usage and ES6 module imports. The code imports the `select` function from D3 v5 and a `message` string from a local `myMessage.js` module, then sets the text content of the `#message` div. Styling is applied via an external `styles.css` file, which centers the text and sets its font size to 12em, while the HTML page loads D3 from a CDN before executing the bundled JavaScript.

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.