car report
✓ Published0🌍 Public
This example displays the make of the first car in a dataset that is defined as an embedded JSON string in `cars.js` and parsed with `JSON.parse`. It renders the text “nissan” inside a `<pre>` element, with the content set by `document.getElementById().textContent`. The chart uses no visualization library, relying solely on the imported `cars` array from a local module. The presentation is static, showing a single value rather than a graphical view.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed