Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

0e6bc6fbda9341bda2d8b3a782151dff

Cars Report

0 stars1🌍 Public
Wwukangqian
Last edited Sep 8, 2020
Created on Sep 8, 2020
Forked from React Starter

This example displays a single data point—the year of the first car in a small dataset—as large text on a web page. The React-free front end renders the message into a `<pre>` element using plain DOM manipulation. It imports the car records from a static JavaScript file (`cars.js`) that parses a JSON string, then accesses `cars[0].year` to show the value. The visualization relies on standard browser APIs like `document.getElementById` and sets the `textContent` property to update the display.

AI-generated description

React Starter code.