Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_task 2

Public visualization

Viewing a saved revision (read-only)

bf659c5385c946b2b0c3a41aaa2b8f89

Activity6_task 2

0 stars0🌍 Public
Sshivasaiamaravadi@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from Activity-6

This example demonstrates loading D3 from a CDN and using ES6 module imports to display a centered message. The code uses `select` from D3 to target a `<div>` and set its text from a separate local module, `myMessage.js`. It also defines a numeric constant and a regular expression, though neither is applied to visual output. The page’s styling, including large font size and centered text, comes from an external CSS file. The example primarily showcases VizHub’s support for modular JavaScript and external library integration.

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.