Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Iirasheed01
Last edited Nov 23, 2019
Created on Nov 23, 2019
Forked from Cars Report

This example displays the make of the first car in a small, hard-coded dataset. It loads a JSON array of five cars, each with a year, make, model, and price, from the `cars` module using `JSON.parse`. The `index.js` file accesses `cars[0].make` and sets the text content of a `<pre>` element with `id="message-element"` in `index.html`, rendering the string “Honda” in large font. The visualization is static and relies on plain JavaScript DOM manipulation, not any charting or animation libraries.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed