🌍 Public
Viewing a saved revision (read-only)
ebaa06b36da64e82b4a6eaf5bee8ae25
blank canvas
The example presents an interactive SVG canvas that fills the browser viewport with a rounded rectangle, while asynchronously loading car listings from a local JSON dataset. D3 v5 selections (`select`, `attr`) handle DOM manipulation and styling after a simulated two-second delay. The `getCars` promise resolves sample vehicle data, which `generateReport` filters by price and formats via `formatCar` into readable text. The interface displays a loading message in a `<pre>` element until the data arrives, then renders the result in a message div.
AI-generated descriptionAn example showing the capabilities of VizHub.