Skip to main content
100%

Activity-6 T-2

✓ Published1🌍 Public
Kkrishna444battula@gmail.com
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This example demonstrates the basic setup for a VizHub project, showing how to combine D3.js with local ES6 modules. It loads D3 v5 via UNPKG and uses the `select` function from D3 to update the text content of a `div` element with the ID `message`. The text itself comes from a separate `myMessage.js` module, which exports a string via `export const`. The page also includes simple CSS styling for centering and sizing 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