Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created July 5, 2021 12:23
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/c38e9c8ef0f44d13d80bdb9aeb7b370f to your computer and use it in GitHub Desktop.
Save amankharwal/c38e9c8ef0f44d13d80bdb9aeb7b370f to your computer and use it in GitHub Desktop.
import plotly.express as px
data = px.data.tips()
figure = px.sunburst(data, path=["day", "sex"], values="total_bill")
figure.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment