Skip to content

Instantly share code, notes, and snippets.

Last active July 19, 2022 04:51
What would you like to do?
import as px
fig = px.scatter(x=data['tenure'], y=data['TotalCharges'],
color = data['Churn'], template = 'presentation',
opacity = 0.5, facet_col = data['Contract'],
title = 'Customer Churn by Tenure, Charges, and Contract Type',
labels = {'x' : 'Customer Tenure', 'y' : 'Total Charges $'})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment