Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
FFintechClown
Last edited Nov 25, 2020
Created on Nov 25, 2020
Forked from Cars Report

This example displays a single car make retrieved from an in-memory JSON dataset of five used cars, rendered as plain text in a large `<pre>` element. The page loads an array of car objects via a promise-based `getCars()` function that simulates a two-second network delay. The code imports `formatCar` and `generateReport` modules, but the main `index.js` file directly accesses the parsed array’s first object and writes its `make` property to the DOM. It demonstrates JavaScript array handling, module exports, and asynchronous data fetching without any visualization library.

AI-generated description

An example tutorial of how to use Javascript arrays and modules.

Comments

Sign in to join the discussion.

MIT Licensed