Python Visuals for Reddit
These visual were made with data accessed using the Reddit API alongside the requests libary for Python. We created CSV files of relevant data and generated panda dataframes from that data using the pandas libarary. If you'd like to see some of the code that we used to access and organize this data, please check out our GitHub respository linked below!
From our panda dataframes, we generated interactive data plots using the plotly Python library. Those data visualizations, converted to html files, are available here for your persusal below. Enjoy!
| Plot Descriptions | Plots (Links) |
|---|---|
| Popularity of certain players in r/soccer. How many mentions they recieved in the past year and how many upvotes their posts recieved. (The two map pretty dang closely!) |
Most mentioned players Most upvoted players |
| Mapping the same popular soccer players, how were their upvotes and comments distributed across posts? Which players had massively popular posts and which had a multitude? | Upvotes distributed across posts Comments distributed across posts |
| The most popular posts in r/soccer over the past year, plotted by upvotes and comments. The Manchester City ban post is in a league of its own (no pun intended). | r/soccer top posts |
| The success of posts in r/soccer across different time periods. Best hours for getting comments. Most upvote heavy months of the year. Most commented months of the year. |
Best hours for comments Upvotes by month Comments by month |
| Relative frequency of downvotes and comments for popular post on r/news and r/politics based on topic of the post. The first plots all of the posts together. The second compares the two subreddits. |
Political post reception across r/news and r/politics Comparing the two subreddits |
| Frequency of upvotes and comments for posts in the 3 most popular r/Ask subredddits: r/AskReddit, r/AskMen, and r/AskWomen | r/AskReddit R/Askwomen r/Askmen Comparing all 3 |
| Number of upvotes and and comments by month in r/AskReddit. Some individual posts dominate their peers in each month. | Upvotes by month r/AskReddit Comments by month r/Askreddit |
| Again looking at post response in r/Askreddit, this time looking for the optimal time of day to post. Both comment and upvote success displayed. | Best posting hour for r/Askreddit |
| A relatively redundant and yet cool looking ternary plot of upvotes, comments, and downvotes on r/AskReddit | Crazy colored upvote ratios |
| Activity and post performancein the Top 15 subreddits on Reddit. A single scatter of successful posts across all 15. A plot of how active each top subreddit is by total uvotes. A look at how active these subreddits are in total by calendar month. |
Succesful posts across top 15 subs The most active of the top 15 Total activity of the top 15 |
| Best time of day to post in the top 15 subreddits. | So you want a lot of upvotes? So you want a lot of comments? |
| How did the introduction on free awards in August 2020 affect the number of awards that posts recieved? (Hint: Exactly what you think it would do) | Massive awards spike |