Skip to main content
Public

Share visualization

Loading preview…

Practic01 | Cars Report

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Practic01 | Cars Report

1
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.

Comments

Sign in to join the discussion.

MIT Licensed