Platform
Resources
Pricing
Sign in
Contact us
Charles Redmond
Workspace
Fork
Published
Fall21IntroDS2
By
Charles Redmond
Edited
Sep 10, 2021
Fork of
Adding Text (Example 2)
Insert cell
Insert cell
Plot
.
plot
(
{
x
:
{
domain
:
[
0
,
10
]
}
,
y
:
{
domain
:
[
0
,
10
]
}
,
marks
:
[
Plot
.
ruleX
(
[
0
]
)
,
Plot
.
ruleY
(
[
0
]
)
,
Plot
.
dot
(
X
,
{
x
:
X
,
y
:
Y
,
r
:
5
,
stroke
:
"black"
,
fill
:
"red"
}
)
,
Plot
.
text
(
X
,
{
x
:
X
,
y
:
Y
,
dy
:
20
,
fontSize
:
15
,
text
:
(
d
,
i
)
=>
`(${
d
},${
Y
[
i
]
})`
}
)
]
}
)
Insert cell
X
=
[
2
,
8
]
Insert cell
Y
=
[
3
,
7
]
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
X
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Y
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML