🌍 Public
Viewing a saved revision (read-only)
efd7fe4e81ad46f6abbfc36606b1dd41
Hello Cindy
This example demonstrates how to build a simple data-driven text report using D3.js and JavaScript modules. It loads a static JSON array of car records containing year and make fields, filters for vehicles manufactured after 2000, then formats and displays the results as multi-line text in an HTML page. The code uses `JSON.parse` via a local module export, a custom `formatCar` utility to combine year and make into readable strings, and `document.getElementById` to update the page content with the processed data.
AI-generated descriptionAn example showing the capabilities of VizHub.