Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars report

Public visualization

Viewing a saved revision (read-only)

f1330e179d9f48b6a4bd1e64f53106a1

Cars report

0 stars1🌍 Public
Kknguyengithub
Last edited Sep 17, 2021
Created on Sep 17, 2021

This example displays a car report by parsing a hardcoded JSON array of vehicle data and outputting the make of the first entry. The visualization is a minimal HTML page that uses JavaScript’s `JSON.parse` to convert the data structure, then sets the text content of a `<pre>` element via `document.getElementById`. The page is built with React, though the core rendering relies on standard DOM manipulation. The data source is an inline JSON string containing five cars with year, make, model, and price fields.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.