Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Books Report

Public visualization

Books Report

0 stars0🌍 Public
Llialee99
Last edited Jan 8, 2020
Created on Jan 8, 2020
Forked from Cars Report

This example displays a plain-text report of books filtered by a minimum price, rendered in large type via an HTML `<pre>` element. It imports book data from a JSON string parsed in `books.js` and uses `generateReport.js` with `Array.filter` and `Array.map` to process the data. The `format.js` module formats each entry as a year, make, model, and price line. The final report is inserted into the page using the DOM API `document.getElementById` and `textContent`.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed