aprofeit / quaranteam-wordcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quaranteam Word Cloud

This app is composed of a ruby script to transform exported facebook data and a javascript file to generate the visualization.

The ruby script is contained within transform.rb and the javscript is contained within app.js. It expects exported Facebook message data to exist within data/message_*.json.

Depending on the number of message files exported, the NUMBER_OF_MESSAGE_FILES constant should be adjusted accordingly. The WORD_LIMIT constant can also be adjusted to change the number of words to populate the cloud.

When the data is present in data/message_*.json, the javascript bundle can be built by running script/build. Once that is completed you can see the word cloud by opening index.html in your browser of choice.

Example output

Example output

Resizing example

Example resize

About


Languages

Language:JavaScript 99.8%Language:Ruby 0.1%Language:HTML 0.1%