Untitled
✓ Published0🌍 Public
This example displays a simple, centered text message rendered through the D3.js library. It loads D3 v5 from the UNPKG CDN and uses the `d3.select` API to target a specific HTML element and set its content using the `text` method. The greeting text itself originates from a local ES6 module, accessed via an import statement, demonstrating how VizHub combines external libraries with modular code. The visual styling is entirely controlled by a separate CSS file.
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