Thanks to visit codestin.com Credit goes to dc-js.github.io
This example demonstrates using regression.js to calculate a linear regression on the points in a scatter plot.