Guest User

Untitled

a guest
Mar 21st, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. for (ind=0; ind<unique_values.length; ind++){
  2. dataset_a=dataset.filter(function(d) { return (d.o_name==unique_values[ind])})
  3. var linegraph=svg.append("path")
  4. .attr("d", lineFunction(dataset_a))
  5. .attr("stroke", cScale(ind))
  6. .on("click", function(d){
  7. d3.select(this).remove()});
  8. } // end ind
Add Comment
Please, Sign In to add comment