🌍 Public
Viewing a saved revision (read-only)
b780faca2f9e4f56b1f69e15df19b38b
Activity_6_Question_1.1
This example demonstrates a minimal VizHub project that renders a user-defined message to the browser. It loads D3 version 5 via the `d3.min.js` script and uses the `select` function to target the `#message` div, setting its text content through D3. The code also imports a local ES6 module, `myMessage.js`, which exports a personalized string, and applies styling through an external CSS file for centered, large text.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.