Activity 7
✓ Published1🌍 Public
This example demonstrates a minimal VizHub project that displays a centered text message using D3.js. It loads D3 v5 from UNPKG and employs the `select` function to target the `#message` div, setting its text content from a local ES6 module. The project illustrates how to import from both the D3 library and custom JavaScript modules, with styling applied through an external CSS file. The page’s visual output is simply large, centered text reading “Hello VizHub!”.
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.
MIT Licensed