Cars report
✓ Published0🌍 Public
This example demonstrates a minimal D3-based data report, displaying the make of the first car from a small embedded JSON dataset defined in a local ES6 module. The visualization reads the data from the `cars` array exported by `cars.js` and uses JavaScript’s standard `JSON.parse` to structure the information. It relies on D3’s import mechanism via UNPKG and renders the result as plain text into a `<pre>` element using the browser’s `textContent` API, avoiding any charting or interactive components.
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