Fork of Card D3
✓ Published0🌍 Public
This example demonstrates a VizHub project structure for integrating D3.js with ES6 modules. It displays the text “Hello VizHub!” in large, centered type using `select` from D3 to update a DOM element. The code imports local ES6 modules, including a `message` export from `myMessage.js`, and also makes a `Request` to an external API endpoint at wasabi.i3s.unice.fr. The example uses D3 v4 loaded via CDN, showcasing how to combine library imports, custom modules, and external data fetching within a single page.
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