Run python fetch_subreddit_stats.py to collect data, then place subreddit_stats.js alongside this HTML file.
python fetch_subreddit_stats.py
subreddit_stats.js