data = {
const text = await FileAttachment("mmda_topviolations2016.csv").text();
return d3.csvParse(text, ({violation, number_of_apprehensions}) => ({
violation: violation,
number_of_apprehensions: parseFloat(number_of_apprehensions.replace(/,/g, ''))
}));
}