Cars Report
✓ Published2🌍 Public
This example displays the make of the first car in a small JSON dataset as text on a web page. It imports the `cars` array from a local ES6 module and uses JavaScript to access the `make` property, which is then assigned to the `textContent` of a `<pre>` element. The visualization demonstrates loading D3 via UNPKG and using ES6 `import` syntax for both local modules and the D3 library, though the current code only renders a single string value.
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