Platform
Resources
Pricing
Sign in
Contact us
Semyeong Oh
Workspace
Fork
Published
By
Semyeong Oh
Edited
Aug 19, 2020
1
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
d
.
forEach
(
function
(
row
)
{
row
[
"Stream"
]
=
row
[
"Star"
]
.
split
(
"_"
)
[
0
]
;
let
a
=
d
.
filter
(
x
=>
(
(
x
[
"Star"
]
===
row
[
"Star"
]
)
&
(
x
[
"El"
]
===
"Fe I"
)
)
)
;
row
[
"Fe/H"
]
=
a
[
0
]
[
"X/H"
]
;
}
)
}
Insert cell
d
=
d3
.
csvParse
(
await
FileAttachment
(
"abundtab-copy@2.csv"
)
.
text
(
)
,
d3
.
autoType
)
Insert cell
d3
=
require
(
'd3'
)
Insert cell
import
{
vl
}
from
"@vega/vega-lite-api"
Insert cell
import
{
select
}
from
'@jashkenas/inputs'
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
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
streamName
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
selectedElement
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
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
d
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
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML