Skip to main content
100%

Cars Report

✓ Published0🌍 Public
BBKirst3
Last edited Feb 6, 2021
Created on Feb 6, 2021
Forked from Cars report

This example displays the make of the first car in a hardcoded dataset, shown as large text on a blank HTML page. It imports a JSON array of car objects via a custom `cars.js` module and parses it with `JSON.parse`. The React-based `index.js` selects the first element and writes its `make` property into the page using `document.getElementById` and `textContent`. The visualization is minimal, relying on plain CSS inline styling for font size rather than any charting library.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes