Cars Report
✓ Published0🌍 Public
This example displays a single car's make, sourced from a hardcoded JSON array of five car records. It shows 'nissan' as the only visible output. The application uses a static data file named `cars.js` and parses it with `JSON.parse`. The main `index.js` file accesses the second element of the resulting `cars` array and assigns its `make` property to the `textContent` of a `<pre>` element in the HTML, demonstrating a simple array indexing and DOM update without any external libraries or visualization frameworks.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed