lundi 31 mars 2014

Feature scaling in d3.js


Vote count:

0




I am trying to make a line chart. Right now I am using this



data.forEach(function(d) {
d.MEDV = +d.MEDV;
d.CRIM = +d.CRIM;
});

x.domain(d3.extent(data, function(d) { return d.CRIM; })).nice();
y.domain(d3.extent(data, function(d) { return d.MEDV; })).nice();


But I want to do feature scaling since my CRIM values varies from 0.006 to 88.



asked 42 secs ago

wannaC

126





Aucun commentaire:

Enregistrer un commentaire