Sometimes, patterns emerge when we look at data differently. In this recipe, we'll take data from our existing Twitter feed, summarize it using Node.js, and then display it using a bubble chart where the size of the bubble is the number of tweets in that day.
To set up a basic page and install jQuery and Highcharts, refer to the instructions in the Getting ready section of the Creating your first chart recipe in Chapter 1, Getting Started with Highcharts.
We will also need to include underscore
by adding it to our dependencies in bower.js
as shown in the following code:
{
"name": "highcharts-cookbook-chapter-12",
"dependencies": {
"jquery": "~1.9",
"highcharts": "~3.0",
"underscore": "~1.6.0"
}
}
Next, we need to install our dependencies using the following command:
bower install
We will also need to include underscore.js
to our page using the following code:
<script src='./bower_components/highcharts/highcharts-more.src.js'></script...