d3js plugin for decimating linear data