Skip to main content
100%

Cars report

✓ Published0🌍 Public
TTimothy sit
Last edited Dec 25, 2020
Created on Dec 25, 2020
Forked from D3 Starter

This example demonstrates how to generate a text-based car report using modular JavaScript with D3 v6. It shows a loading message while asynchronously fetching car data via a custom Promise, then filters cars under a specified price and formats each match into a readable string using helper functions. The code uses `d3.v6.min.js`, `getCars()`, `generateReport()`, and `formatCar()` to parse inline JSON data and update the DOM element with the final report.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes