Platform
Resources
Pricing
Sign in
Get started
Maxwell Fite
Workspace
Fork
Public
By
Maxwell Fite
Edited
Mar 24, 2023
Insert cell
Insert cell
viewof
jsonfileGames
=
Inputs
.
file
(
{
label
:
"JSON file"
,
accept
:
".json"
,
required
:
true
}
)
Insert cell
gamesX
=
jsonfileGames
.
json
(
)
Insert cell
gameData
=
gameX
.
filter
(
(
d
)
=>
{
return
d
.
Id
.
GameMode
===
1
||
d
.
Id
.
GameMode
===
4
}
)
Insert cell
viewof
jsonfileMatches
=
Inputs
.
file
(
{
label
:
"JSON file"
,
accept
:
".json"
,
required
:
true
}
)
Insert cell
spartanCompanyMatches
=
jsonfileMatches
.
json
(
)
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
jsonfileGames
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
gamesX
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
gameData
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
jsonfileMatches
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
spartanCompanyMatches
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML