var data1 = [
{"year":2000,"country":"Madagascar","country_id":847,"group":"Economic Statistics "},
{"year":2005,"country":"Madagascar","country_id":847,"group":"Economic Statistics "},
{"year":2000,"country":"Madagascar","country_id":847,"group":"Economic Statistics "},
{"year":2005,"country":"Libya","country_id":846,"group":"Demographic and Social Statistics "},
{"year":2008,"country":"Libya","country_id":846,"group":"Demographic and Social Statistics "},
{"year":2005,"country":"Libya","country_id":846,"group":"Demographic and Social Statistics "}
]
This is my JSON data, I want filter it based on country, and year(unique) using underscore.js