Skip to main content
100%

Activity_6

✓ Published1🌍 Public
Ssriyaalugupalli@my.unt.edu
Last edited Oct 20, 2024
Created on Oct 20, 2024
Forked from Hello VizHub

This example renders a centered, large-font message reading “Hello VizHub!” on a plain webpage. It demonstrates fundamental VizHub workflows: loading D3.js via UNPKG, importing the `select` function from the D3 module, and importing a local ES6 module (`myMessage.js`) that exports the message string. The code uses `d3.select` to target the `#message` div and set its text content, while CSS styles control the font size and alignment. The visualization is static, showing a minimal integration of D3 with modular JavaScript and external stylesheets.

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