Cars Report
✓ Published0🌍 Public
This example displays the model name of the first car in a static JSON dataset. It uses the D3 library loaded via UNPKG, with the `cars.js` module parsing the JSON and exporting the array. The `index.js` file imports the `cars` data, selects the `model` property from the first element, and sets it as the text content of a `<pre>` element in the HTML, demonstrating local ES6 module imports and dynamic text injection.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed