Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.16 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.16 KB

reddit-heatmap

Example

Inspired by Github's heatmap for keeping track of contribute. Now that 2016 is coming to an end, I thought this would be a nice way of checking how much time has been spent, or more realistically wasted 😭, on Reddit.

How it works

Thankfully, some of Reddit's API endpoints are public so I didn't have to deal with the hassle of getting an API key or even worse getting an oauth token for each user.

For building the heatmap, this example was super helpful.

Next steps

I'm planning on adding the specific day view similar to how GitHub shows the exact commit and PR details for a day when clicked. In this case, it'll show post and comment details.

Built with

  • d3.js - Great tool for building graphics, seems like GitHub also used d3 for its heatmap.
  • jQuery - Yes, it is still super handy for DOM manipulation.
  • Bootstrap - Great for the lazy developer that can't design properly.