Platform
Resources
Pricing
Sign in
Get started
Brett Cooper
In New Zealand being kid of human. We might make mistakes but we will make other things too. - Michael Joseph Savage
Workspace
Fork
Published
By
Brett Cooper
Edited
Mar 11, 2022
1 star
1
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.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
xlsxfile
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
workbook
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
sheet
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML