Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars2🌍 Public
Aaudreyfr
Last edited Nov 23, 2019
Created on Nov 23, 2019
Forked from Hello VizHub

This example shows a single data point from a small built-in dataset of used cars, displaying the make of the first car ("Honda") in large text on a webpage. It demonstrates a minimal data-to-DOM pipeline: a hardcoded JSON array in `cars.js` is parsed into a JavaScript array using `JSON.parse`, then imported via ES modules into `index.js`. The code selects an HTML element by ID with `document.getElementById` and sets its `textContent` to the value. No external visualization libraries are used; the rendering relies entirely on plain JavaScript and static HTML.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed