Skip to main content
100%

Cars Report

✓ Published0🌍 Public
SSandyWu7179290504
Last edited Sep 30, 2022
Created on Sep 30, 2022
Forked from D3 Starter

This example demonstrates a text-based report of used cars, showing a filtered list of vehicles priced under $2,000 based on a hardcoded JSON dataset. The page initially displays "Loading......" while the app fetches car data asynchronously via a Promise-based `getCars` function with a simulated 2-second delay. It uses modern ES module imports (`import`/`export`) to separate car formatting, report generation, and data retrieval logic, with D3 version 6 referenced in the README. The final report renders as plain text in an HTML `<pre>` element using vanilla JavaScript.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes