Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to set up a minimal VizHub project that loads D3.js from a CDN and uses ES6 modules to display a static text message. It shows a message div centered and styled with large font size, with content set through D3’s `select` and the `.text()` method. The code imports the `select` function from D3 v5 and a local string constant from `myMessage.js`, illustrating how to combine external library imports with local module imports in a browser-based visualization environment.
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