Skip to main content
100%

Activity 6 tutorial 4

✓ Published1🌍 Public
AAamani Chamarthi
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Hello VizHub

This example demonstrates how VizHub supports ES6 modules and D3.js integration within a simple web page. It shows a static message, "Hello VizHub!", displayed prominently in the center of the screen using large text styling. The code imports the `select` function from D3 and a local `message` constant from a separate `myMessage.js` module, then applies the text to a `div` element. D3 is loaded via UNPKG, and the page structure is defined in `index.html` with accompanying CSS.

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