🌍 Public
Viewing a saved revision (read-only)
2c8df0c5c14348e9ae53e85231dd5913
Cars Report
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.