Skip to main content
100%

Cars Report

✓ Published0🌍 Public
HHaifan Li
Last edited Mar 12, 2020
Created on Mar 12, 2020
Forked from Cars Report

This example displays a cars report by rendering the make of the first car in a dataset as large text on a webpage. The data is a hardcoded JSON array of five car objects, imported from a separate module and parsed with `JSON.parse`. The React-based code uses plain JavaScript DOM manipulation to set the `textContent` of a designated `<pre>` element, identified via `getElementById`, to the value "Honda". The visualization is minimal, showing only one data point rather than a chart or table of the full dataset.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes