Platform
Resources
Pricing
Sign in
Get started
Jarrett Meyer
Visual data analyst and data scientist for Eli Lilly & Company.
Workspace
Fork
Published
By
Jarrett Meyer
Edited
Sep 1, 2021
Fork of
Rotate a Box
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
rotate
=
(
e
)
=>
{
mutable
rotation
-=
120
console
.
log
(
e
.
target
.
parentElement
)
;
e
.
target
.
parentElement
.
style
.
transform
=
`translateZ(${
apothem
}px) rotateY(${
mutable
rotation
}deg)`
;
}
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
apothem
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
side
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
rotation
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
rotate
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML