Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub - Activity 6

Public visualization

Viewing a saved revision (read-only)

a3d2b797531b44ac8e91ef8880098f54

Fork of Hello VizHub - Activity 6

0 stars0🌍 Public
MMandadi Nishita
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This example demonstrates a minimal VizHub project that displays a static text message using D3.js and ES6 modules. It shows how to import D3’s `select` function to target the `#message` div and set its content, while also importing a local `message` constant from `myMessage.js`. The page loads D3 v5 via UNPKG and uses a simple `styles.css` for centered, large-font styling.

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.