Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created September 3, 2021 05:27
Show Gist options
  • Save amankharwal/5106047605463771a52230d852a844d7 to your computer and use it in GitHub Desktop.
Save amankharwal/5106047605463771a52230d852a844d7 to your computer and use it in GitHub Desktop.
import plotly.express as px
data = data
figure = px.histogram(data, x = "AnnualIncome",
color = "TravelInsurance",
title= "Factors Affecting Purchase of Travel Insurance: Income")
figure.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment