Skip to content

Instantly share code, notes, and snippets.

@kurasaiteja
Created July 7, 2020 09:25
Show Gist options
  • Select an option

  • Save kurasaiteja/948bf63d8d0803cb69b70ea2ce164ea9 to your computer and use it in GitHub Desktop.

Select an option

Save kurasaiteja/948bf63d8d0803cb69b70ea2ce164ea9 to your computer and use it in GitHub Desktop.
import plotly.express as px
fig = px.pie(emoji_df, values='count', names='emoji',
title='Emoji Distribution')
fig.update_traces(textposition='inside', textinfo='percent+label')
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment