Task 8 Q1-2
✓ Published1🌍 Public
This example demonstrates the basic setup and modular structure of a VizHub project. It loads D3 v5 via UNPKG and uses the `import` statement to bring in the `select` function from the D3 library and a local ES6 module. The code selects a `div` element with the ID `message` and sets its text content to a string exported from a separate module. The page is styled with custom CSS to center the text and render it at a large font size.
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