Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Kkevin0903
Last edited Oct 10, 2019
Created on Oct 8, 2019
Forked from Cars Report

This example renders a simple text report about cars from a static JSON array imported via an ES6 module. It displays the make of the first car in large, styled text using the Ubuntu font from Google Fonts, with dark blue page background and light text color. The code defines a `formatCar` function to convert a car object into a readable string, and it filters, maps, and joins the data, though only the first car’s make is ultimately shown in the `message-element` `<pre>` tag. It uses plain JavaScript array methods and DOM manipulation via `document.getElementById`.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes