Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

bd107a105f1447308279b9fa503c717a

Cars Report

0 stars0🌍 Public
Iidlevalor
Last edited Jul 23, 2021
Created on Jul 22, 2021
Forked from D3 Starter

This example demonstrates a simple text-based report generator that filters a list of used cars by price and formats the results. It uses static JSON data defined in the source code, containing five car objects with make, model, year, and price properties. The application filters for cars priced under $2,000, formats each entry using a custom `CarFormatter` utility, and displays the output in a large `<pre>` element. The code leverages ES6 modules and imports, along with JavaScript’s native `JSON.parse`, `filter`, and `map` methods, but does not use D3 or other visualization libraries.

AI-generated description

A demonstration of how to start using D3 version 6.