GithubHelp home page GithubHelp logo

brayvid / visualize-searches Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 752 KB

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

HTML 6.71% JavaScript 93.29%
myactivity word-frequency concordance google-takeout data-science p5-js

visualize-searches's Introduction

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)

visualize-searches's People

Contributors

brayvid avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.