Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to import local ES6 modules alongside D3 loaded from a CDN, with D3 v5 fetched from UNPKG. The page renders a large text element whose content is set by the bundled JavaScript, while CSS is imported from a local stylesheet. The code uses the global `d3` object to manipulate the DOM and assign the message, and the `script` tag loads a prebuilt `bundle.js` file. The visualization focuses on module loading and basic DOM updates rather than data-driven rendering.
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