Calculating and drawing a standard deviation ellipse for two dimensional data
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
example
lib
.gitignore
README.html
README.md
config.codekit
d3.devellipse.js
d3.devellipse.min.js
thumbnail.png

README.md

d3.deviation-ellipse

Calculating and drawing a standard deviation ellipse for two dimensional data using d3.

Deviation Ellipse

##Usage

var devellipse = new devellipse();
var errEllipse = devellipse.data([[x1,y1],[x2,y2],...]);

//Radius - X
errEllipse.rx

//Radius - Y
errEllipse.ry

//Center - X
errEllipse.cx

//Center - Y
errEllipse.cy

//Center - orientation (in degrees)
errEllipse.orient

##Examples

A visualization of spatially distributed tags from instagram images: http://prjcts.sebastianmeier.eu/deviationellipse/example/instagram.html

Random set of pionts: http://prjcts.sebastianmeier.eu/deviationellipse/example/random.html