Skip to main content
100%

Cars report

✓ Published0🌍 Public
MMiguel-GC
Last edited Nov 25, 2019
Created on Nov 25, 2019
Forked from Hello VizHub

This example displays a text-based report of cars filtered by a maximum price. It shows a list of car models, their year, make, and price, generated from a hardcoded JSON array. The code uses D3.js v5, though primarily for versioning, with the core logic relying on JavaScript’s `filter`, `map`, and `join` methods. The `generateReport` function filters the data, formats each entry using `formatCar`, and displays the result in a styled HTML page with a dark background and white text.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes