data = {
var timeParser = d3.timeParse("%d %b %Y");
return Object.assign(d3.csvParse(await FileAttachment("Exercise - cardio, Apr to May 4@1.csv").text(), ({"Type of exercise": typeOfExercise, Date: name, Date: x, Amount: y}) => ({typeOfExercise, name, x: timeParser(x + " 2020"), y: +y})), {x: "Date →", y: "↑ Amount"})
}