🌍 Public
Viewing a saved revision (read-only)
4c4a097fa84e46c0a4f17fcafae76e50
Test2 Bar charts
This example displays a dual-panel bar chart comparing Total Ad Spend and Acquisitions across Management Entities, using data from a CSV file. The upper panel scales total spend, while the lower panel scales acquisitions, with both sharing a common x-axis via `scaleBand`. The D3 v5 code loads data with `csv`, applies `scaleLinear` for y-domains, and renders axes with `axisLeft` and `axisBottom`. The SVG output uses grouped `<g>` elements and colored rectangles, with padding between the two vertical panels.
AI-generated description