look at refactoring the way init works
cakey opened this issue · comments
Ben Shaw commented
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...