Public
Edited
Jan 16, 2023
Insert cell
Insert cell
penguins
Insert cell
Inputs.table(penguins)
Insert cell
d3.group(penguins, d => d.sex)
Insert cell
d3.extent(penguins, d => d.culmen_length_mm)
Insert cell
Plot.dot(penguins, {x: "culmen_length_mm",
y: "culmen_depth_mm" , fill: "sex"}).plot()
Insert cell
Insert cell
stocks = FileAttachment("stocks.csv").csv()
Insert cell
stocks_parsed = stocks.map(d=> {
d.valeur =1
d.price = +d.price
d.date_parsed = timeParse(d.date)
return d
})
Insert cell
timeParse = d3.timeParse("%b %Y")
Insert cell
Plot.line(stocks_parsed, {x:"date_parsed", y:"price", stroke:"symbol"}).plot()
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.
Learn more