Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task1

Public visualization

Viewing a saved revision (read-only)

9cc6b3a878be4f96af5cd5deb0aaf913

Activity6_Task1

0 stars0🌍 Public
DDeekshitha Annreddy
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity6

This example demonstrates a minimal VizHub template that renders the text "Hello VizHub!" centered on the page. It loads D3 v5 from UNPKG and uses the `select` API to target the `#message` div, setting its text content. The code also showcases importing local ES6 modules, specifically a `myMessage.js` file that exports the message string, and includes CSS styling for large centered text.

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.