🌍 Public
Viewing a saved revision (read-only)
8e6ebb19293845bfacbf846440778757
cars report
The cars report displays the first car make from a static JSON dataset, rendering the text "nissan" prominently in the browser. It uses D3 version 6 to import and parse the embedded `cars` array from `cars.js`, which contains five car records with year, make, model, and price fields. The example demonstrates a minimal setup where `index.js` selects a DOM element by ID and sets its text content, with the page styled via an inline `pre` tag. The visualization is generated through Rollup, which bundles the modular JavaScript files before display.
AI-generated descriptionA demonstration of how to start using D3 version 6.