Skip to main content
100%

Clustered Bar Chart - Credit Card Utilization by Attrition Status

✓ Published4🌍 Public
RRaul Gamez
Last edited Oct 23, 2021
Created on Oct 9, 2021

This interactive clustered bar chart visualizes credit card utilization from the Bank Customers Dataset, comparing the average of a selected metric (total transaction amount, credit limit, or revolving balance) across customer demographics. Bars are grouped by attrition status, with color distinguishing existing versus attrited customers, and dropdown menus let users switch between categorical groupings like income, education, or marital status. Built with D3.js, the chart uses `scaleBand` and `scaleLinear` for axes, `scaleOrdinal` for color encoding, and `transition` for smooth animated updates when the data selection changes. Tooltips reveal the underlying sum and count for each bar.

AI-generated description

A clustered bar chart using D3 displaying data of credit card utilization from the Bank Customers Dataset.

The two menus at the top enable the users to choose which columns to be presented. For the x-axis the options are:

  • Income Level
  • Education Level
  • Marital Status
  • Card Category
  • Gender

For the y-axis the options are:

  • Total Transactions Amount
  • Credit Limit
  • Total Revolving Balance

Finally, the attrition status of the customers is encoded on the color of the bars.

MIT Licensed

Similar vizzes