An example with d3.js for computing basic statistics

D3.js is a wonderful JavaScript visualization library. In this simple example, however, we are not doing any visualization but only demonstrating the use of D3 for data-loading and computing basic statistics.

We are loading the data from a CSV file hosted in a Github repo. Here is the table of the data.

index 1 2 3 4 5 6 7 8
num -4.5 15.8 12 8.2 -21.2 9.9 23.5 -18.2

Click on the button below to load data from a CSV file, hosted on a Github repo.

Click on the button below to compute basic stats.