Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

e5dcb35432984d048c7ab294eace246d

Cars Report

0 stars0🌍 Public
Nneoh
Last edited Sep 29, 2019
Created on Sep 29, 2019
Forked from Hello VizHub

This example displays a plain-text report of cars filtered by price, showing each vehicle’s year, make, model, and cost. It uses the `generateReport` function to filter the hardcoded car JSON data and format entries via the `formatCar` helper, which joins them into a single text string. The report appears inside a `<pre>` element styled with CSS, while D3 v5 is loaded but not directly used for rendering, relying instead on standard ES6 module imports and array methods.

AI-generated description

An example showing the capabilities of VizHub.