Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created September 3, 2021 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/7df76abad4f313bcfa8bd26a541b1b82 to your computer and use it in GitHub Desktop.
Save amankharwal/7df76abad4f313bcfa8bd26a541b1b82 to your computer and use it in GitHub Desktop.
import plotly.express as px
data = data
figure = px.histogram(data, x = "Age",
color = "TravelInsurance",
title= "Factors Affecting Purchase of Travel Insurance: Age")
figure.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment