Fork of Hello VizHub
✓ Published0🌍 Public
This example demonstrates how VizHub loads D3 from a CDN and uses ES6 modules to compose a simple text display. It imports the `select` function from D3 v5 and a local `message` string from `myMessage.js`, then sets the text content of the `#message` div with `select('#message').text(message)`. The page includes a linked `styles.css` file that centers the text and sets its font size to 12em. The visualization is minimal, showing only the integration of external libraries, local modules, and styling.
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