Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

8a478a6af4644ef6bdbee99baca51eea

Cars Report

0 stars0🌍 Public
Aadmk840
Last edited Dec 20, 2019
Created on Dec 20, 2019
Forked from React Starter

This example displays a single car make from a static JSON array by rendering it as plain text in an HTML page. It reads the first record of the `carsJSON` variable and prints its `make` property, “Honda,” into a `<pre>` element. The code uses React as the framework, though no React components or state are invoked; instead, it directly manipulates the Document Object Model via `document.getElementById()` and sets the text content. The data source is a hardcoded JSON string containing three car entries with year, make, model, and price fields.

AI-generated description

React Starter code.