Skip to main content
100%

Activity6_Task3

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

This example demonstrates how to load D3 from a CDN and use ES6 modules to structure a minimal web page. It shows a single text message, “Hello VizHub!”, displayed in the center of the screen and styled with a large font size. The code imports the `select` function from D3 and a string from a local `myMessage.js` module, then uses `select` to set the text content of a `div` element. The setup highlights the integration of external libraries with local modular JavaScript code.

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