Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Jjfgiraldo3421
Last edited Sep 28, 2019
Created on Sep 28, 2019
Forked from Cars Report

This example demonstrates a simple text-based report of used cars, showing the year, make, model, and price for each vehicle priced under $2,000. It simulates an asynchronous data fetch with a two-second delay, then filters and formats the data using JavaScript modules and array methods. The visualization relies on Promises (`getCars`), the `filter` and `map` array operations, and template literals to generate the output, which is rendered directly into the HTML `<pre>` element. The data is hard-coded as a JSON string in the source code.

AI-generated description

An example tutorial of how to use JavaScript objects, arrays, and modules.

Comments

Sign in to join the discussion.

MIT Licensed