by Anton Tarasenko [email protected] http://antontarasenko.com
Reddit's selection of the items for the main menus substantially impacts the popularity of subreddits.
%pylab inline
pylab.rcParams['figure.figsize'] = (12.0, 9.0)
pylab.rcParams.update({'font.size': 16})
import pandas as pd
df = pd.read_csv('top_100.csv')
df.head()
Variables:
subscribers
: The number of subscribers on 2015-05-07subscribers13
: The number of subscribers in 2013in_horiz_menu
: Is the subreddit in the Reddit's horizontal menu?in_dropdown_menu
: Is the subreddit in the dropdown (main) menu?df['subscribers'][:54].plot(kind='line', title='Top 53 Subreddits by Subscribers')
df['subscribers'][55:].plot(kind='line', title='Top 54-100 Subreddits by Subscribers')
df['subscribers'][50:60].plot(kind='bar', title='Subreddits from 50th to 60th')
df[:][50:60]
Not being in the menus implies a free-times fall in popularity, as we see from the difference between "TwoXChromosomes" and "woahdude". Subreddit "atheism", which is between them, was excluded from the menus after 2012 (snapshot).
The data is available on GitHub:
github.com_top.json
reddit.com_dropdown.txt
reddit.com_horizontal.txt
redditlist.com.txt
Sources: