Some areas of statistics are more used and referred to than others; distributions, probability density functions (PDFs), and cumulative density functions (CDFs) are just some of the topics that tend to come up often. In this recipe, we will look at how we can use jStat to plot certain statistical distributions such as the normal distribution.
To set up a basic page and install jQuery and Highcharts, refer to the Getting ready section of the Creating your first chart recipe in Chapter 1, Getting Started with Highcharts.
We will also need to add some additional dependencies to our project in bower.json
as shown in the following code:
{ "name": "highcharts-cookbook-chapter-10", "dependencies": { "jquery": "^1.9", "highcharts": "~3.0", "rm-jstat": "~1.0.0", "underscore": "~1.6.0" } }
Lastly, we need to include the following files on our page:
<script src='./bower_components/highcharts/highcharts.js'></script> <script...