Activity 6
✓ Published1🌍 Public
This example demonstrates how to set up a minimal VizHub project using D3.js and ES6 modules. It shows a simple "Hello VizHub!" message displayed in the center of the page using the `select` function from D3’s API. The code imports D3 via UNPKG, imports a local ES6 module containing the message string, and applies styling through an external CSS file. The rendering is static, with no data source or interactive elements.
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