Activity6 Task_1
✓ Published0🌍 Public
This example demonstrates a simple text display that says “Hello VizHub!” using D3.js to select an HTML element and set its text content. The visualization loads D3 version 5.16.0 from the UNPKG CDN and imports the `select` function from the D3 library. It also imports a local ES6 module to supply the message string. The text is centered and styled with a large font size via the `styles.css` file. The code includes an unused variable and a regular expression, but those do not affect the displayed output.
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