Platform
Resources
Pricing
Sign in
Contact us
CNN Data + Graphics
Original reporting, live data, news graphics and more from CNN Digital.
Workspace
Fork
Public
By
Matt Stiles
Edited
May 30, 2023
Fork of
Hu-Stiles girls nightly bath order!!
Insert cell
Insert cell
viewof
file
=
html
`<input type=file accept="image/*">`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
seed
=
d3
.
utcDay
(
)
Insert cell
inOffice
=
difference
(
staff
,
done
)
Insert cell
shuffledTeam
=
d3
.
shuffler
(
d3
.
randomLcg
(
seed
)
)
(
Array
.
from
(
inOffice
)
)
Insert cell
difference
=
(
set1
,
set2
)
=>
{
const
diff
=
new
Set
(
)
;
for
(
let
val
of
set1
)
{
if
(
!
set2
.
has
(
val
)
)
diff
.
add
(
val
)
;
}
return
diff
;
}
Insert cell
d3
=
require
(
"d3-array@^2.7"
,
"d3-random@^2.2.2"
,
"d3-time@2"
)
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
Compare fork
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
file
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
staff
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
done
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
seed
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
inOffice
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
shuffledTeam
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
difference
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML