Platform
Resources
Pricing
Sign in
Get started
David B.
Data viz engineer | twitter.com/dbumbeishvili
Workspace
Fork
Published
Work Utils
By
David B.
Edited
Apr 12, 2019
3 stars
Insert cell
Insert cell
div
=
html
`<div id="myDiv"></div>`
Insert cell
{
div
;
plotly
.
newPlot
(
'myDiv'
,
data
,
layout
)
;
}
Insert cell
data
=
[
{
name
:
"test name"
,
y
:
[
.0
,
.1
,
.1
,
.2
,
.3
,
.5
,
.8
,
.13
,
.21
]
,
text
:
[
"f1.fil"
,
"f2.fil"
,
"f3.fil"
,
"f4.fil"
,
"f5.fil"
,
"f6.fil"
,
"f7.fil"
,
"f8.fil"
,
"f9.fil"
]
,
boxpoints
:
'all'
,
jitter
:
0.3
,
pointpos
:
-
1.8
,
type
:
'box'
,
boxmean
:
true
}
]
Insert cell
layout
=
(
{
yaxis
:
{
range
:
[
0
,
1
]
}
}
)
Insert cell
plotly
=
require
(
"https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.47.1/plotly.min.js"
)
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
Pin
Add comment
Select
Duplicate
Copy link
Embed
Delete
div
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
data
Unpin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
layout
Unpin
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
plotly
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
JavaScript
Markdown
HTML
JavaScript
Markdown
HTML