Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Sstefichim
Last edited May 17, 2020
Created on May 17, 2020
Forked from HTML Starter

This example displays a single car make, “Honda,” in large text on a web page. It uses a static JSON dataset embedded in the `cars.js` file, which contains five car records with year, make, model, and price fields. The React application, built with the VizHub starter, uses JavaScript to parse the JSON with `JSON.parse` and then sets the text content of a `<pre>` element via `document.getElementById('message-element').textContent`. The code renders only the first car’s make, demonstrating a minimal data access and DOM update pattern.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed