Skip to main content
100%

assign2-5_pardha

✓ Published0🌍 Public
Ppardha1411
Last edited Jul 22, 2023
Created on Jul 22, 2023

A scatter plot shows credit card usage among bank customers, with age on the x-axis, total expenditure in dollars on the y-axis, and circle color indicating attrition status—black for existing customers and red for those who have churned. The visualization loads a CSV from a GitHub gist using `d3.csv`, parses numeric fields, and renders circles as SVG elements sized with a fixed radius and 35% fill opacity. Axes are generated with `d3.axisLeft` and `d3.axisBottom`, while scales are created using `d3.scaleLinear` with domains derived from `d3.min` and `d3.max`. The chart fills the browser window, drawing data marks via data joins on SVG circles.

AI-generated description

A scatter plot using D3 displaying credit card usage data from people on the Bank Customers Dataset.

The age of the customers is displayed on the x-axis, their total expenditure in dollars on the y-axis and their current status on the color of the circles (black if they still have their credit card or red if they don’t).

MIT Licensed

Similar vizzes