Skip to main content
100%

Cars Report

✓ Published0🌍 Public
NNatália
Last edited Jul 25, 2023
Created on Jul 25, 2023
Forked from D3 Starter

This example displays the make of the first car in a hardcoded JSON array of five vehicles, showing a simple text report. The page renders the message "Honda" in large, centered text within an HTML `<pre>` element. The visualization uses JavaScript to import the car data from a separate `cars.js` module, parse it as JSON, and assign the first record's make to the message element via the Document Object Model’s `getElementById` method. It demonstrates basic data handling and page updating without any charting library.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes