🌍 Public
Viewing a saved revision (read-only)
f4dc69b670ef416495d877ef9aedda58
Untitled
This example displays a text report of cars priced under $2,000, formatted as a series of lines with year, make, model, and price. It uses D3 loaded via UNPKG, with data parsed from a local JSON string. The report is generated by filtering and mapping over the car array using local ES6 modules, and the result is inserted into the HTML via `document.getElementById`. No visual chart is drawn; 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.