🌍 Public
Viewing a saved revision (read-only)
5a8ed209bd31479890156c6a50acccb9
Activity - 6
This example displays the text “Hello VizHub!” centered on the page. It demonstrates loading D3.js from a CDN and importing a local ES6 module. The code uses D3’s `select` to set the text content of a div, styles the message with CSS, and shows basic module imports and regular expression syntax.
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.