Cars Report
✓ Published0🌍 Public
This example demonstrates VizHub’s ability to load D3 via UNPKG and use ES6 module imports from both `"d3"` and local files. It starts by importing D3 and defining a local module, then uses JavaScript to set the text content of an HTML element. The code shows a minimal setup with an `index.html` referencing a bundled script, and a `styles.css` that styles the message element, though the displayed text is only a simple greeting with no interactive behavior.
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