Skip to main content
100%

Activity6_task4

✓ Published0🌍 Public
Hharshabandi3060@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup within VizHub, displaying a centered “Hello VizHub!” message. It shows how to load D3 from a CDN via UNPKG and use ES6 module imports for both the D3 library and a local module. The code uses `select` from D3 to set the text content of an HTML div element, while a separate `myMessage.js` file exports the message string. The page also includes basic CSS styling for the message text.

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