Platform
Resources
Pricing
Sign in
Get started
Data Workflows
Workspace
Fork
Published unlisted
By
Fil
Edited
Jan 2, 2022
2
Insert cell
Insert cell
data
=
[
NaN
,
0.2
,
0
,
1
,
2
,
1
/
0
]
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Plot02
=
require
(
"@observablehq/plot@0.2"
)
Insert cell
PlotCoerceInfiniteNaN
=
FileAttachment
(
"plot@1.umd.js"
)
.
url
(
)
.
then
(
require
)
Insert cell
Plot644
=
FileAttachment
(
"plot@2.umd.js"
)
.
url
(
)
.
then
(
require
)
Insert cell
Plot
.
plot
(
{
x
:
{
type
:
"log"
}
,
marks
:
[
Plot
.
dotX
(
[
0
,
0.1
,
1
,
2
,
10
]
)
]
}
)
;
Insert cell
Plot
.
plot
(
{
x
:
{
type
:
"linear"
}
,
marks
:
[
Plot
.
dotX
(
[
0
,
0.1
,
1
,
2
,
10
]
,
Plot
.
map
(
{
x
:
d
=>
d
.
map
(
d
=>
Math
.
log2
(
d
)
)
}
,
{
x
:
d
=>
d
}
)
)
]
}
)
;
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
data
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Plot
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Plot02
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
PlotCoerceInfiniteNaN
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Plot644
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