Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
RRonaldKaweesi
Last edited Oct 5, 2019
Created on Oct 5, 2019
Forked from Cars Report

This example shows a list of cars that costs less than $2,000, rendered as a text report on a webpage. It demonstrates how to use JavaScript modules and asynchronous data handling to generate a text-based visualization. The code uses `JSON.parse` to process embedded car data, a `Promise` to simulate a delayed data fetch, and exports functions like `formatCar` and `generateReport` to filter and format the output. The result is displayed in an HTML `<pre>` element.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed