Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars1🌍 Public
AAnnie Liao
Last edited Jun 5, 2020
Created on Jun 4, 2020
Forked from React Starter

This example displays a plain-text report of cars priced under $2,000, loading the list asynchronously via a Promise in `getCars.js`. It formats each entry with `formatCar` into a “year make model $price” line and joins them with newlines in `generateReport`. The React-free interface uses vanilla DOM manipulation in `index.js` to update a `<pre>` element, while a simulated one-second delay demonstrates async data fetching before rendering the report.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed