Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
MMaxwellHarper
Last edited Feb 11, 2020
Created on Feb 11, 2020
Forked from HTML Starter

This example displays a single car make in large text on a webpage, showing the first entry from a hardcoded JSON dataset of three cars. The code parses the JSON string using `JSON.parse` and accesses the first object’s `make` property with `cars[0].make`. It then updates the HTML element’s text content via `document.getElementById('message-element').textContent`. The visualization relies on a simple DOM manipulation API, with the data stored locally in `cars.js` and bundled for the browser.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed