Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

a40e26dbe6c945c5ae4007494d9be436

Cars Report

0 stars0🌍 Public
Aakshayms0
Last edited Oct 18, 2022
Created on Oct 18, 2022

This example displays the make of the first car from a small embedded dataset, rendering the text "honda" inside a `<pre>` element on an HTML page. The code imports car data from a separate `cars.js` module, where the data is stored as a JSON string and parsed into an array of objects. It uses React and JavaScript to access the first record and update the page’s DOM via `document.getElementById`, setting the `textContent` of the message element. The visualization demonstrates a minimal data-to-text output without any charts or graphical rendering.

AI-generated description

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

See also React Starter.