Cars Report
✓ Published0🌍 Public
This example displays a report on car data by extracting specific values—such as make, model, and price—from a local JSON array and presenting them as large red text on a webpage. It demonstrates modular JavaScript by importing the car data from `vehicle.js` and a formatting helper from `formatCar.js` using ES6 `import` statements, then updating `<pre>` elements via `document.getElementById` and `innerHTML`. The page loads without external dependencies, relying on plain JavaScript and CSS from `styles.css` to style the highlighted output.
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