Car Report
✓ Published1🌍 Public
This example demonstrates a simple report generator for used cars, showing a filtered list of vehicles priced below a threshold. Using the D3 data-join pattern (though no D3 is imported), it parses hardcoded JSON car data via `JSON.parse` and applies a custom `generateReport` function that filters by price and formats each entry with the `formatCar` helper. The resulting text is injected into the page through `document.getElementById`, while basic CSS styles handle font size and color for static list items.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed