Skip to main content
100%

Fork of Fork of Hello VizHub

✓ Published4🌍 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.
MIT Licensed

Similar vizzes