🌍 Public
Viewing a saved revision (read-only)
83f2f6f0b7e54b68b26f301d0352548d
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.