Skip to main content
100%

Cars Report [complete]

✓ Published0🌍 Public
SShokoLocoMocco
Last edited Nov 15, 2020
Created on Nov 14, 2020
Forked from Hello D3

This example demonstrates a text-based report of cars filtered by price, displaying each car’s year, make, model, and cost in a large, preformatted HTML element. The page initially shows “Loading...” and then, after a simulated two-second delay, renders the filtered list. The code uses JavaScript promises with `getCars` to fetch a hardcoded JSON array, and `generateReport` with `formatCar` to filter and stringify the data. It relies on plain DOM manipulation via `document.getElementById` to update the message element, with no external visualization libraries.

AI-generated description

From tutorial video >>> https://www.youtube.com/watch?v=_8V5o2UHG0E&feature=youtu.be

If you came from the video, you have to add "./" in front of the file names to make them work!!

A demonstration of how to start using D3 version 6.

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes