Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Viewing a saved revision (read-only)

e0ddb9ca04744f3db5b430344cc5be33

Cars Report

0 stars0🌍 Public
JJSR2000
Last edited Aug 13, 2019
Created on Aug 13, 2019
Forked from Cars Report

This example displays the make of the first car in a hard-coded JSON dataset as large text on a webpage. It parses an embedded array of car objects into JavaScript using `JSON.parse` and selects the first element’s `make` property. The code then updates the DOM by setting the `textContent` of a `<pre>` element accessed via `document.getElementById`. No external visualization libraries are used, relying solely on native JavaScript and HTML.

AI-generated description

An example showing the capabilities of VizHub.