Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6_Task 3

Public visualization

Viewing a saved revision (read-only)

c08351340b85498c8e8009435c3657d1

activity 6_Task 3

0 stars0🌍 Public
Jjakeh311@yahoo.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This example demonstrates the basic setup and functionality of a VizHub project, showing how to load D3 v5 via UNPKG and use it to manipulate HTML content. The visualization displays the text "Hello VizHub!" in a large, centered format using CSS styling. The code imports the `select` function from D3 and a custom message from a local ES6 module, then applies that message to a DOM element through D3's selection API. It also includes examples of local CSS imports and ES6 module usage within the project structure.

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.