Public
Edited
May 3, 2023
Paused
3 forks
17 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
corr = stat.sampleCorrelation(aapl.map(d => d.Close), goog.map(d => d.Close))
Insert cell
aapl = stocks.filter(d => d.Symbol === "AAPL")
Insert cell
goog0 = stocks.filter(d => d.Symbol === "GOOG")
Insert cell
goog = goog0.map(d => ({...d, Close: d.Close * m + b}))
Insert cell
twoStocks = [...aapl, ...goog]
Insert cell
domain = d3.extent(twoStocks, d => d.Close)
Insert cell
stat = require("simple-statistics")
Insert cell
import {stocks} from "@observablehq/plot-line"
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