🌍 Public
Cars Report
This example presents a brief report on a small set of cars, listing their make, model, year, and price. The page initially displays “Loading…” for two seconds before using data from a local JavaScript array and a `generateReport` function to output a formatted text summary. Built with React and vanilla JavaScript, the visualization uses a promise-based `getCars` function to simulate asynchronous data retrieval, then updates the text content of a preformatted HTML element. The core library is D3.js, used here for DOM selection and text manipulation via `d3.select`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed







![Cars Report [complete]](/viz/4b4ccb3909734f17ad45fa51389fe0d1/social-image.png?v=5bc5baa353a545c7b4c49b2197d030c3)
Comments
Sign in to join the discussion.