Skip to main content
100%

car report

✓ Published0🌍 Public
Mmanishabehera
Last edited Mar 31, 2021
Created on Mar 31, 2021
Forked from D3 Starter

This example presents a concise text-based report on a small car dataset, listing each vehicle’s year, make, model, and price. It demonstrates a data-filtering workflow using JavaScript’s array methods (`filter`, `map`, `join`) to select cars priced under $2000, then formats the first qualifying car into a message. The result is displayed in a `<pre>` element via `document.getElementById`. The data originates from an embedded JSON string in the `cars.js` module, parsed with `JSON.parse`.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes