Platform
Resources
Pricing
Sign in
Get started
C369
Workspace
Fork
Public
By
C369
Edited
Nov 4, 2022
ISC
Fork of
Plot Scatterplot
Importers
3
Insert cell
Insert cell
Download Data - INDEX_US_S&P US_SPX.csv
Filter
Columns
2
Sort
Slice
Save
Type Table, then Shift-Enter. Ctrl-space for more options.
Insert cell
// Plot it
Plot
.
plot
(
{
width
:
800
,
marks
:
[
Plot
.
dot
(
data
,
{
x
:
"Date"
,
y
:
"Close"
,
fill
:
"steelblue"
}
)
]
}
)
Insert cell
data
=
{
let
data
=
downloadDataIndex_us_sPUs_spx
.
map
(
function
(
o
)
{
let
oo
=
{
}
;
oo
.
Date
=
d3
.
utcParse
(
"%m/%d/%Y"
)
(
o
.
Date
)
;
oo
.
Close
=
parseFloat
(
o
.
Close
.
replace
(
","
,
""
)
)
;
return
oo
;
}
)
;
return
data
;
}
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
downloadDataIndex_us_sPUs_spx
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
File attachments
penguins.csv
CSV
Download Data - INDEX_US_S&P US_SPX.csv
CSV
Databases
Filter
Column
Operator
Columns
Sort
Column
Direction
Descending
Ascending
Slice
From
Start
To
End
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