Platform
Resources
Pricing
Sign in
Get started
Ross Stewart
Workspace
Fork
Public
By
Ross Stewart
Edited
Mar 13, 2023
Insert cell
Insert cell
points
=
[
[
1
,
4
]
,
[
7
,
8
]
]
Insert cell
Plot
.
plot
(
{
x
:
{
domain
:
[
0
,
10
]
}
,
y
:
{
domain
:
[
0
,
10
]
}
,
marks
:
[
Plot
.
ruleX
(
[
0
]
)
,
Plot
.
ruleY
(
[
0
]
)
,
Plot
.
dot
(
points
,
{
r
:
7
,
fill
:
"blue"
,
stroke
:
"black"
}
)
]
}
)
Insert cell
points1
=
[
{
x
:
1
,
y
:
4
}
,
{
x
:
7
,
y
:
8
}
]
Insert cell
Plot
.
plot
(
{
x
:
{
domain
:
[
0
,
10
]
}
,
y
:
{
domain
:
[
0
,
10
]
}
,
marks
:
[
Plot
.
ruleX
(
[
0
]
)
,
Plot
.
ruleY
(
[
0
]
)
,
Plot
.
dot
(
points1
,
{
x
:
"x"
,
y
:
"y"
,
r
:
7
,
fill
:
"blue"
,
stroke
:
"black"
}
)
]
}
)
Insert cell
x
=
[
1
,
7
]
Insert cell
y
=
[
4
,
8
]
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
:
7
,
fill
:
"blue"
,
stroke
:
"black"
}
)
]
}
)
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
points
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
points1
Add comment
Copy import
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML