🌍 Public
Viewing a saved revision (read-only)
0d93ccd8528f44b7ae7bc486c2e2e5ad
HI Cars
This example displays a single car make, "Nissan," in large text on a webpage. It uses a hardcoded JSON array of car objects, with each object containing year, make, model, and price fields. The code imports the data from a separate cars.js file and uses JavaScript’s `document.getElementById` to set the text content of a `<pre>` element. The visualization does not render any charts or graphics, only the text output from the parsed data.
AI-generated descriptionA demonstration of how to start using D3 version 6.