Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars1🌍 Public
Jjoalvarenga53
Last edited Apr 13, 2020
Created on Apr 13, 2020
Forked from Cars Report

This example displays a single car brand and model from a small JSON dataset of five used cars, rendering the text in large type on a plain HTML page. It shows the make of the first car entry in the array. The visualization uses a hand-written `cars.js` module that exports parsed JSON data, which is then imported in `index.js` and accessed with standard array indexing to set the `textContent` of a `<pre>` element. The code relies on ES module imports and the native `JSON.parse` API.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed