Platform
Resources
Pricing
Sign in
Get started
Jose Antonio GS
Mathematician and web developer
Workspace
Fork
Public
By
Jose Antonio GS
Edited
Apr 28, 2023
Insert cell
Insert cell
{
const
width
=
500
;
const
height
=
500
;
const
svg
=
d3
.
create
(
"svg"
)
;
const
vectorSpace
=
new
VectorSpaceClass
(
svg
.
node
(
)
)
;
vectorSpace
.
draw
(
[
{
x
:
2
,
y
:
2
}
]
,
{
width
,
height
}
)
;
return
svg
.
node
(
)
;
}
Insert cell
Insert cell
d3
=
require
(
"d3@6"
)
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
VectorSpaceClass
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d3
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML