Skip to main content
100%

Car Report

✓ Published0🌍 Public
Ggranville001
Last edited Sep 20, 2023
Created on Sep 20, 2023
Forked from D3 Starter

This example displays a car report as plain HTML text. It shows three car entries, each formatted with the car’s year, make, model, and price, concatenated into a single block of text under the title. The visualization uses D3 version 7, loaded from a CDN, to parse a hardcoded JSON array. The JavaScript constructs a formatted string for each car via the `formatCar` function and writes the result into the page’s `<pre>` element using the DOM’s `textContent` property.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes