Published
Edited
May 6, 2020
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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"})
}
Insert cell
Insert cell
data[0]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more