activity 6 task 3.2
✓ Published0🌍 Public
This example demonstrates the minimal setup for a VizHub project using D3.v5 to display a static text message. The page renders the text “Hello VizHub!” centered on a blank canvas, with the content dynamically set through D3’s `select` API. The code imports the `select` function from D3 and a local ES6 module, `myMessage.js`, which exports the string. Styling is applied via an external CSS file, and the visualization runs entirely in the browser without any external data source or user interaction.
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