Cars Report
✓ Published3🌍 Public
This example demonstrates how to load and display a small dataset of used cars. It uses `cars.js` to define and export an array of five car objects, each with a year, make, model, and price. The main `index.js` imports this data and sets the text content of an HTML element with the ID `message-element` to a simple string, “Hey there,” which replaces the initial “Hello” text. The page is styled with a large font and built using D3 v5, though the visualization itself is limited to basic DOM manipulation via `document.getElementById` and `textContent`.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed