Activity 6
✓ Published0🌍 Public
This example demonstrates how to set up a minimal VizHub project using ES6 modules and D3. It displays the text "Hello VizHub!" centered on the page by using `select` from D3 to target a div and set its content. The message string is imported from a local ES6 module, showing how to structure reusable code. The project loads D3 v5 from UNPKG and includes a CSS file for styling.
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