Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars1🌍 Public
Yyoghurtx
Last edited Nov 1, 2019
Created on Nov 1, 2019
Forked from Cars Report

This example generates a text-based report of cars filtered by maximum price. It loads car data from a hardcoded JSON array via a simulated asynchronous `getCars()` Promise, then applies a `filter` and `map` pipeline in `generateReport` to format each matching car as a string. The output, rendered in a `<pre>` element with a large font, lists the year, make, model, and price. The code uses JavaScript ES6 modules, `Promise`, and DOM `textContent` updates, with no D3 visualization.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed