Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

6f16cf9dc63446e298441bfdc2650702

Fork of Fork of Hello VizHub

0 stars4🌍 Public
LLakshmiPrasannaValdas@my.unt.edu
Last edited Apr 15, 2024
Created on Apr 15, 2024

This example demonstrates how VizHub loads D3 and local ES6 modules to display a simple text message. The page uses D3’s `select` API to target the `#message` div and set its text to “Hello VizHub!”. The message string comes from an imported local module, `myMessage.js`, while styles are applied via an external CSS file. The code also includes an unused D3 import and a regular expression literal.

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.