Published
Edited
Mar 11, 2022
1 star
Insert cell
Insert cell
viewof xlsxfile = Inputs.file({label: "Excel file", accept: ".xlsx"})
Insert cell
workbook = _.isEmpty(xlsxfile)? FileAttachment("data-publication-work-related-september-2021.xlsx").xlsx() : xlsxfile.xlsx()
Insert cell
workbook.sheetNames
Insert cell
Inputs.table(workbook.sheet(sheet, { headers: true }))

Insert cell
viewof sheet = Inputs.radio(workbook.sheetNames, {
value: workbook.sheetNames[0]
})
Insert cell
workbook.sheet(sheet)
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