Practice
✓ Published0🌍 Public
This example renders a simple text report from a dataset of five cars, each with a year, make, model, and price. It uses D3.js v5's `select` function to query the DOM and updates a `<pre>` element with a message generated by local modules. The `generateReport` function filters cars by a maximum price and maps them into formatted strings via `formatCar`, producing a line-separated list. The styling uses a custom Ubuntu font and a dark blue background.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed