Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task 8 question 2

Public visualization

Viewing a saved revision (read-only)

86de66e9cec54102b67664ffc4b40ec1

task 8 question 2

0 stars1🌍 Public
Vvchittimadha@gmail.com
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

This example demonstrates a minimal VizHub project structure by displaying the text “Hello VizHub!” centered on the page. It uses D3 v5, loaded from a CDN, and imports the `select` function from the D3 library to set the text content of a `div` element. The code also illustrates ES6 module imports by using a local `myMessage.js` file that exports the message string, while a separate `styles.css` file controls the large font and text alignment.

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.