add a slider as an addition graphing dimension in d3.js