Cars Report
✓ Published0🌍 Public
This example renders a simple bar chart of five car prices using D3 v5’s `select` and data-join pattern. Each rectangle’s height corresponds to a price value from the embedded `cars` JSON array, while the x position is computed from the index. The SVG is appended directly to the body, with `rect` elements styled via a CSS rule that sets a steelblue fill. No axes or labels are included, focusing solely on the raw geometric encoding of the data.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed