Visualization tool for credit card exploratory. This dataset is obtained from Kaggle site Kaggle Credit Card Fraud
All the variables for this dataset are transformed using PCA dimension reduction algorithm. PCA ensures that we will not abuse user information. However, it also made analysis more difficult. To help visualize and explore data I built this simple app.
Bokeh is a powerful tool, it could be slow to paint large dataset locally. For the purpose of exploration, I keep all the fraud transactions and sampled 10% of normal transactions. Sampling helped in quick visualization.
This app requires installing python3 or above to view the app.
To play with the app clone this repo and run the following command line within the folder.
OR Using methods mention in this wonderful blog,to deploy the app online.
Click to HERE HERE HERE to view :)
bokeh serve --show creditcardvizapp.py
Transaction types describe whether the transaction is fraud or normal. Orange points are fraud transactions.
Circle sizes are in proportion to the amount of the transactions.
Use buttons to select which variables to show. X and Y selections are for variables and transaction type button let users choose which subset of data to show.
This repository require pandas, sklearn and bokeh to be install in order to view. Could use pip to download the required packages. Run the following command line to install
pip install -U numpy scipy scikit-learn
pip install bokeh