5 ms·
Gmail data visualization with D3.js
- kkwok 13y agoThis is great! Any chance, you'll be sharing the code for this? Would love to use it on my inbox.
- diziet 13y agoBecause D3 is javascript based, the code is already there: view-source:http://luk3thomas.com/labs/gmail-archive-for-2013-20140224.html http://luk3thomas.com/labs/gmail-archive-for-2013-20140224.h... Just parse your data to look like his: http://luk3thomas.com/labs/data/2014-02-24-gmail-archive-for-2013/data.csv http://luk3thomas.com/labs/data/2014-02-24-gmail-archive-for...
- luk3thomas 13y agoYep, all the source code is in the page. view-source:http://luk3thomas.com/labs/gmail-archive-for-2013-20140224.html http://luk3thomas.com/labs/gmail-archive-for-2013-20140224.h... The hard part is parsing your gmail.mbox file from google takeout. You can use `egrep '^From [0-9]|X-Gmail-Labels' gmail.mbox` as a good starting place for finding the labels and dates for each email. Personally, once I had the data I stored that data in a SQL database and ran an aggregate query to count the emails for each label every month. I'm sure there is a better way to do it.
- deleted 13y ago[deleted]
- san_dimitri 13y agoGreat job Luke. Would be great if you github the code. I am not a d3 user but write code in JS. Would love to see my inbox as well.
- heywire 13y agoDoes anyone else get a 403 when trying to access the Google Takeout link?
- wehadfun 13y agoCobbleStone?
- hadem 13y agoI was wondering the same thing.
- luk3thomas 13y agomy thoughts exactly
- msteinert 13y agoMy guess: http://www.cobblestonecn.com/ http://www.cobblestonecn.com/
- dudus 13y agoIf I'm reading this right you haven't been doing very well on the "keep your inbox clean" department.
- orezavi 13y agoI am learning D3.js these days, this is really cool, luk3 :) I am storing all of my Foursquare checkins into Google Calendar. I'll parse them too later on.