Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

f5952df1b36e4894b2b3eaa54127089a

Cars Report

0 stars0🌍 Public
Hhawjelly
Last edited Jul 17, 2020
Created on Jul 17, 2020
Forked from Cars Report

This example demonstrates a simple text-based report for a car inventory, displaying a car’s make in large type on a web page. Working from an embedded JSON array of car objects, it uses a JavaScript module (`cars.js`) to parse the data and a separate function (`generateReport`) to filter cars under a given price and format each entry. The page’s content is updated via the Document Object Model’s `textContent` property, with the code bundled using Rollup for execution in the browser.

AI-generated description

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