Skip to main content
100%

Activity_7_Q2

✓ Published1🌍 Public
GGOPI MUPPURI
Last edited Nov 4, 2024
Created on Nov 4, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup that loads D3 v5 via UNPKG and imports both D3 functions and a local ES6 module. It uses `select` from D3 to set the text content of a `#message` div, pulling the string from an exported `message` constant in `myMessage.js`. The page includes a CSS file for styling the centered, large text. The code shows how to combine external libraries, local modules, and basic DOM manipulation in a single VizHub project.

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