Car Report
✓ Published0🌍 Public
This example demonstrates a simple data report that loads car information—including year, make, model, and price—from a local ES6 module and displays a text message in the browser. The code imports the `cars` array from `cars.js` and uses `document.getElementById` to set the content of a `<pre>` element in `index.html`. D3 is loaded via UNPKG, though no D3 functions are actively used in this visualization. The example illustrates basic module imports and DOM manipulation without any chart or graphic rendering.
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