🌍 Public
Viewing a saved revision (read-only)
13c38c4f1c414e56ba2d5267cc441d31
activity 8 task 4
This example demonstrates the minimal setup required for a VizHub project, showing a single HTML page that loads D3 v5 from a CDN and displays a message. It uses an ES6 module to import a custom string and the `select` function from D3, which sets the text content of a targeted division. The rendering approach relies on standard DOM manipulation via D3’s selection API, with CSS styling applied to center the message.
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.