Hello HTML
✓ Published0🌍 Public
This example demonstrates VizHub’s ability to combine static HTML structure with dynamic D3.js operations. It renders a single yellow circle with a black stroke on a 960 by 500 SVG canvas, while a D3 `select` API call updates a div’s text content to "Hello VizHub!" using a local ES6 module. The page loads D3 from UNPKG and imports a custom `message` function from `./myMessage`. The visualization relies entirely on inline SVG markup and CSS styling, with no external data source.
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