Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report1

Public visualization

Viewing a saved revision (read-only)

3d30268305ad4744b5b080e4713f3040

Cars Report1

0 stars0🌍 Public
Aazfa2019
Last edited Apr 28, 2020
Created on Apr 26, 2020
Forked from Cars Report

This example displays a text-based car report that filters a hardcoded list of vehicles by price and formats each entry as a line of readable text. It demonstrates how to organize code into reusable JavaScript modules using ES6 imports and exports. The report is generated by chaining array methods like `filter` and `map`, and it uses `JSON.parse` to convert embedded JSON data into objects. The final output is rendered into a webpage’s DOM element using `document.getElementById` and assigned to the element’s `textContent` property. No external visualization libraries are used.

AI-generated description

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