🌍 Public
Viewing a saved revision (read-only)
4df97837c74c4d25b3de2ab08033efd3
Cars Report
This example demonstrates a minimal data-visualization setup that loads a static dataset of five cars from a local ES6 module using `import`, then displays the make of the first car in large text within an HTML `<pre>` element. The code imports D3 from a CDN via UNPKG and uses `document.getElementById` to update the DOM with the selected value. It highlights basic ES6 module usage and simple DOM manipulation without any chart or graphical 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.