Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
AArcy Flores
Last edited Oct 16, 2019
Created on Oct 16, 2019
Forked from Hello VizHub

This visualization displays a plain-text report of car data stored in a JavaScript array of objects. The report extracts the first car's make—Honda—and writes it into an HTML element, showing a minimal example of data access and DOM manipulation. The data originates from an embedded JSON string in the cars.js file, and the code uses the native `JSON.parse` method to convert it into a usable array. The example relies on the D3 library (version 5) loaded via its standard CDN, though it primarily demonstrates basic JavaScript object destructuring and the `textContent` property for updating the interface.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed