Skip to main content
100%

Cars Report

✓ Published1🌍 Public
Ffiona187412
Last edited Sep 1, 2019
Created on Aug 31, 2019
Forked from Hello VizHub

This example shows how to display a formatted car listing as text on a webpage. It presents a single car’s details—year, make, model, and price—in a large, styled message element. The code uses JavaScript modules, importing car data from `cars.js`, which parses a JSON string, and a formatting function from `formatCar.js`. The message is written to the DOM using `document.getElementById` and `textContent`. Styling relies on an external Google Fonts import via CSS.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes