Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
AAlexandrina98
Last edited Apr 22, 2021
Created on Apr 22, 2021
Forked from D3 Starter

This example demonstrates how to build a basic asynchronous data-loading workflow with D3 version 6. It displays a list of used cars with their year, make, model, and price, filtering results to show only vehicles under $2000. The code uses `getCars()` to return a Promise that resolves with JSON-parsed car data after a simulated 2-second delay, then passes it to `generateReport()`, which filters and formats the text output using the `formatCar` helper. The final report updates the DOM via `textContent` on the `<pre>` element.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes