Fork of Violin Plots - Credit Card Utilization by Attrition Status
This visualization compares credit card utilization across customer attrition statuses using D3 violin plots. An interactive menu lets users switch between quantitative variables such as credit limit, revolving balance, and transaction count, with attrition status encoded by color. Hovering highlights each violin and reveals tooltip values. The plots are built with d3.histogram, d3.area, and d3.curveCatmullRom, rendered as SVG with smooth transitions, using data from the Bank Customers Dataset.
AI-generated descriptionViolin plots using D3 displaying data of attrition level by different quantitative variables from the Bank Customers Dataset.
The menu at the top enable the users to choose which quantitative columns to use. The options are:
- Customer age
- Credit limit
- Total revolving balance
- Total transaction amount
- Total transaction count
- Avg. utilization ratio
Finally, the attrition status of the customers is encoded on the color of the violins, the users can highlight the violins by hovering over them and see the values used to construct them on the tooltip.