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

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more