Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars report

Public visualization

Viewing a saved revision (read-only)

17e312c3122846a6bad6bfa5f1b30b39

Cars report

0 stars0🌍 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.