Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar charts with D3

Public visualization

Bar charts with D3

0 stars3🌍 Public
PPranav Revankar
Last edited Jan 28, 2020
Created on Jan 19, 2020

This example visualizes total advertising spend across different management entities using horizontal bar charts. The bar lengths encode the numeric "Total Ad Spend" values, while the y-axis lists the corresponding management entities. The SVG rendering uses D3 v5’s `scaleLinear` and `scaleBand` for positioning, with `axisLeft` and `axisBottom` for tick marks. Data is loaded via `d3.csv` from a local CSV file, and bar colors are styled through CSS.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed