Cars Report
✓ Published0🌍 Public
This example shows a simple web page that displays the make of the first car in a static dataset. It loads a local ES6 module containing an array of car objects, parses it from JSON, and writes the value `"Honda"` to a `<pre>` element using the DOM API `textContent`. The visualization relies on D3 only for module loading via UNPKG, while the data itself originates from a hardcoded JavaScript string in the `cars.js` file. No chart or graphical rendering is involved.
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