Cars Report
✓ Published0🌍 Public
This example displays a single car make, "Honda," extracted from a hard-coded JSON array of five vehicles. It demonstrates loading D3 and local ES6 modules, then uses `document.getElementByID` to write the message into a preformatted HTML element. The data is parsed with `JSON.parse` from the `cars.js` module and rendered as plain text.
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