d3.js filter from csv file using multiple columns
问题 I want to filter using multiple column values from csv. I first want to filter by city and then criticality columns. I would like to filter Criticality (high/medium/low). How to filter using AND/OR ? City and Criticality are checkboxes and based on the selections i want to filter the data from the respective csv columns. looking at efficient way of filter. Can i have something like (d["Criticality]=="High" || d["Criticality"]=="Low") currently this is what i am doing: var City="London"; var