Public
Edited
Jan 10, 2023
Insert cell
Insert cell
Insert cell
Insert cell
general_data.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
general_data[0]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
employee_survey_data.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
in_time.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
manager_survey_data.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
manager_survey_data

Insert cell
out_time.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
// filter an object and return an object
function filterObject (obj, type = 'number') {
const newObj = {};
for (const [key, value] of Object.entries(obj)) {
if (typeof value === type) {
newObj[key] = value;
}
}

return newObj;
}
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