Skip to main content
100%

Cars Report

✓ Published0🌍 Public
BBrunoPaulo10
Last edited Nov 11, 2020
Created on Nov 11, 2020
Forked from Cars Report

This example displays a plain-text car report generated from an in-code JSON array of five vehicles. It shows a single car entry, specifically the first object, containing the year, make, model, and price, rendered in a large `<pre>` element. The code uses `JSON.parse` to convert the embedded `carsJSON` string into an array, then assigns the first car object directly to the message element via `document.getElementById().textContent`. No D3 or visualization library is used; the output relies solely on DOM manipulation to present the data statically.

AI-generated description

a demonstration of how to start using D3 version 6

MIT Licensed

Similar vizzes