Skip to main content
100%

Practic01 | Cars Report

✓ Published1🌍 Public
Hhimanshucse2012
Last edited Oct 17, 2021
Created on Oct 17, 2021
Forked from Pathetic Bar Chart

This example presents a plain-text report of car inventory, listing each vehicle’s year, make, model, and price after filtering to show only cars under $2,000. The report is generated from an inline JSON array of five car objects, using JavaScript array methods `filter` and `map` in conjunction with a custom `formatCar` function to produce the formatted lines. The output is displayed directly in a `<pre>` element on the page, styled with large font size, and the code runs without any additional visualization library, relying solely on vanilla JavaScript and the DOM API.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

MIT Licensed

Similar vizzes