Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity_task1

Public visualization

Viewing a saved revision (read-only)

1d9a04dd816441a583968b32d80e8ef6

Activity_task1

0 stars0🌍 Public
1188r1a0559@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from tutorial1

This example demonstrates a minimal "Hello VizHub!" message display using the D3.js library. It renders static text centered on the page, leveraging D3’s `select` function to target the HTML div with ID `message` and set its content. The text is sourced from an imported local ES6 module, `myMessage.js`, which exports the string. Styling is handled via a separate CSS file, and the code also includes a regular expression pattern and a numeric variable as part of the demonstration.

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.