Skip to content

Instantly share code, notes, and snippets.

@SmartDataWithR
Created November 6, 2022 18:42
Show Gist options
  • Save SmartDataWithR/b66fdd6a450610f9ab1143b1c21b3832 to your computer and use it in GitHub Desktop.
Save SmartDataWithR/b66fdd6a450610f9ab1143b1c21b3832 to your computer and use it in GitHub Desktop.
SentimentArticle: Stars Count
fig = px.bar(df_grouped[df_grouped['source']==president],
x="stars", y="count", color="stars",
color_discrete_sequence= px.colors.sequential.Plasma_r
)
fig.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment