Skip to main content
100%

1_Fork of Clustered Bar Chart - Credit Card Utilization by Attrition Status

✓ Published0🌍 Public
RRenee
Last edited Nov 28, 2021
Created on Nov 28, 2021

This interactive clustered bar chart visualizes credit card utilization from the Bank Customers Dataset, comparing average transaction amounts, credit limits, or revolving balances across demographics such as income, education, and marital status. Bars are color-coded by customer attrition status (Existing vs. Attrited), with tooltips revealing aggregate sums and counts. Users select grouping and aggregate columns via dropdown menus, triggering transitions that update the chart. Built with D3 v7, it uses `scaleBand`, `scaleLinear`, `scaleOrdinal`, `rollups`, and `group` to compute summaries, rendered as SVG with animated bar transitions and hover highlighting.

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