Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how a minimal D3 project can load libraries from a CDN and use ES6 modules to compose a simple visualization. It shows a single div element whose text content is set to “Hello VizHub!” using the `select` function from D3 v5. The code imports `select` from the `d3` namespace and a custom `message` string from a local `myMessage.js` module. Styling comes from an external CSS file, and the page structure is defined in `index.html`.
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