Created
October 18, 2022 05:48
-
-
Save srang992/f6e00222b01e549df30e800a38959283 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
olive_data = chain_data[chain_data['RestaurantName']=='Olive Garden'] | |
taco_data = chain_data[chain_data['RestaurantName']=='Taco Bell'] | |
panda_data = chain_data[chain_data['RestaurantName']=='Panda Express'] | |
olive_states = count_df(olive_data, 'State').head(5) | |
taco_states = count_df(taco_data, 'State').head(5) | |
panda_states = count_df(panda_data, 'State').head(5) | |
titles = ['Olive Garden in States', 'Taco Bell in States', "Panda Express in States"] | |
fig = multi_donut_charts([olive_states, taco_states, panda_states], 1, 3, ['State', 'State', 'State'], | |
colors, titles,) | |
fig.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment