Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how to set up a minimal VizHub project that loads D3.js from UNPKG and uses its `select` method to update the text content of a `<div>`. It also showcases the use of local ES6 modules, with `index.js` importing a `message` constant from `myMessage.js`. The imported string is then displayed using `select('#message').text(message)`, while a stylesheet centers the text at a large font size.
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