Fork of Hello VizHub
✓ Published1🌍 Public
This example demonstrates how D3.js and ES6 modules can be used together in a VizHub project. It renders a simple text message, "Hello VizHub!", centered on the page using a CSS style. The code imports the `select` function from D3 and a custom local module exporting the message string. It loads D3 from a CDN and uses D3's selection API to update the DOM.
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