🌍 Public
Viewing a saved revision (read-only)
550f86edd0c442e1b0ac2d7117aee5ae
Activity6_Task 3.1
This example demonstrates how to build a minimal VizHub project that renders a static text message using D3.js. The visualization displays the phrase “Hello VizHub!” centered on the page with large typography. The code loads D3 v5 via a CDN, imports the `select` API from the d3 module, and uses local ES6 modules to define the message string. The rendering approach relies on CSS for styling and D3’s selection method to set the text content of an HTML element.
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.