Skip to content

Instantly share code, notes, and snippets.

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