Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 8

Public visualization

Viewing a saved revision (read-only)

74822df91fb94f70b737373eba58a572

Activity 8

0 stars0🌍 Public
BBindumadhavi
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Hello VizHub

This example demonstrates the basic interactive and rendering capabilities of VizHub, showing a message displayed prominently on a page. The code loads D3 v5 directly from the UNPKG CDN and demonstrates how to import specific D3 API functions like `select` to manipulate the DOM. It also showcases the use of local ES6 modules by importing a message string from `myMessage.js`. The D3 `select` function targets an HTML `div`, setting its text content, while CSS styles the text for large, centered presentation.

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.