cakey / infro

Javascript visualisation tool for anomalies and patterns in tabular data, using D3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

look at refactoring the way init works

cakey opened this issue · comments

Might possibly be better for init to take a selection like the rest of the code base, and then use setters for the rest of the options:

infro(d3.select("visualisation")
.data("/my/path")
.metric( "std_dev", function )
.filterable(...?

im not sure, but worth a think...