Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Test2 Bar charts

Public visualization

Test2 Bar charts

0 stars0🌍 Public
HHazki
Last edited Jan 29, 2020
Created on Jan 28, 2020
Forked from Test Bar chart

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

Comments

Sign in to join the discussion.

MIT Licensed