Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Sshaukat-abidi
Last edited Mar 29, 2021
Created on Mar 28, 2021
Forked from Cars Report

This example demonstrates how to display a static car report in a web page. It parses an embedded JSON array of car objects, each containing year, make, model, and price, into a JavaScript array using `JSON.parse`. The code imports this data from `cars.js` and writes a simple text message to the DOM using `document.getElementById` and `textContent`. The visualization is minimal, showing only the string 'hello' in large preformatted text, with no chart or graphical rendering.

AI-generated description

An example tutorial of how to use JavaScript objects, arrays, and modules.

MIT Licensed

Similar vizzes