Activity6_Tutorial2
✓ Published0🌍 Public
This example demonstrates a minimal "Hello VizHub!" message displayed in large, centered text. It serves as a template for D3.js projects, loading the library via UNPKG and showcasing the use of ES6 modules. The code imports the `select` function from D3 and a custom `message` export from a local module, then applies the text to a div element. It also includes a CSS stylesheet for formatting.
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