Return a new dataset that has only the elements that match given criteria.
var filteredData = data.filter(function(d) { return d.year > 2000; });