initial values for parallel coordinates using d3js

35 views Asked by At

I am using parallel coordinates example of this link https://bl.ocks.org/jasondavies/1341281

I want to set initial range values for particular axis...Can anyone please let me know..

1

There are 1 answers

0
harshad joshi On

d3.select(this).call(y[d].brush = d3.svg.brush().y(y[d]).extent([1.3, 1.8]).on("brush", brush));

just changed this line by adding extent([min.max]) this will draw brush but will not trigger event to update foreground-background. So need to call brush() manually in the end.