Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task4(9)

Public visualization

Viewing a saved revision (read-only)

0def0beb24094633acb98b07dacbc713

Activity6_Task4(9)

0 stars0🌍 Public
Ssanjanaadapa7@gmail.com
Last edited Oct 24, 2024
Created on Oct 24, 2024
Forked from Hello VizHub

This example demonstrates how a D3.js visualization can integrate ES6 modules and external libraries within a VizHub project. It uses D3’s `select` function to update the text content of a DOM element, while importing a custom message from a local module. The page loads D3 v5 via a CDN and relies on a bundled script to execute the code. A CSS rule centers the displayed message, which is set to "Hello VizHub!"

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.