<% var data1=(_.filter(data['data'], function(d){return d.sector=='Automotive' })) %> <% var comp1 = _.uniqBy(data1, "company") %> <% var data2=(_.filter(data['data'], function(d){return d.sector=='Oil and Gas' })) %> <% var comp2 = _.uniqBy(data2, "company") %> <% let url = parse_url().searchKey['view'] %>