Skip to content

Explore your search trends in a "MyActivity.html" file from Google Takeout.

Notifications You must be signed in to change notification settings

brayvid/visualize-searches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph your Google searches in the browser.

  • Words in searches are counted. Common words like "the" and "what" are ignored.
  • The list is divided into intervals (bins) by timestamp, and the most frequent word in each bin is selected.
  • Each selected word's count-in-bin is plotted with time. Clicking on a word toggles its graph on and off.
  • p5 and JQuery are used via CDN links in the index.html file.

Usage

  • The files study.js, ignored.js and index.html need to be served to your browser, in addition to a "MyActivity.html" file from Google. This can be found at https://takeout.google.com/settings/takeout. Select: My Activity > Select specific activity data > (Choose a service), and follow the prompts.
  • Start a local web server from your working directory. Here is one option: https://www.npmjs.com/package/http-server.
  • Open the browser console, navigate to localhost, and wait a few seconds to a couple minutes for the window to appear, depending on the size of the MyActivity file.

Results (Youtube)

About

Explore your search trends in a "MyActivity.html" file from Google Takeout.

Topics

Resources

Stars

Watchers

Forks