Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

b9d0d48de9ad415eb0ffa32f49e8d66d

Cars Report

0 stars0🌍 Public
Sshis1011
Last edited Oct 11, 2020
Created on Oct 11, 2020
Forked from Cars Report

This example shows a text-based report of the first car in a small dataset, displaying its make in large type on a minimal HTML page. The data is defined in a separate `cars.js` module as a JSON string parsed into an array of car objects, each containing make, model, year, and price. Using React’s component model, the `index.js` file imports that array, accesses the first entry, and sets it as the text content of an HTML `<pre>` element via `getElementById`. No external visualization libraries are used; the output is plain DOM text.

AI-generated description

A bare minimum HTML page.

See also React Starter.