Skip to main content
100%

Cars Report

✓ Published1🌍 Public
Sshis1011
Last edited Oct 11, 2020
Created on Oct 11, 2020
Forked from Cars Report

This example displays the price of the second car in a small static dataset, rendering the numeric value as large text on an HTML page. It imports car records from a separate module, accesses `cars[1].price`, and writes the result into the DOM via `document.getElementById` and `textContent`. The data consists of five car objects with make, model, year, and price fields, embedded as JSON and parsed with `JSON.parse`. The visualization uses no charting library, relying solely on plain JavaScript and React’s ecosystem, with the page structure defined in `index.html` and a pre-rendered bundle.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes