🌍 Public
Viewing a saved revision (read-only)
41fa848d215c4f84bbb4e30e2f2831e3
Cars Report
This example demonstrates a simple text-based report of car listings, filtering the dataset to show only vehicles priced under $20,000. It loads car data from a local JSON module and formats each entry into a readable string showing year, make, model, and price. The report is rendered into a `<pre>` element on the page. The code uses ES6 module imports and exports from local files, along with standard array methods like `filter`, `map`, and `join`. No external visualization libraries are used; the output is plain text.
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.