Takes in the output of sentiment_analysis and creates a visualization of user's tweets with sentimental analysis.
visualize_sentiments(sentiment_df, plot_type = "Standard")
sentiment_df | A DataFrame containing sentiment column from sentiment_analysis |
---|---|
plot_type | An optional string for which chart to return. Options are ("Standard", "Separate") |
A bar chart containing most common words in tweets, colour coded by sentiment.
#>#>visualize_sentiments(sentiment_df, plot_type = "Separate")