Public
Edited
Apr 3, 2023
Insert cell
Insert cell
Insert cell
Insert cell
forecasts = fc.simplex(data, "deaths", 8, 6, 8, 1, {dateField: "date"})
Insert cell
Insert cell
{
for (const forecast of forecasts) {
const VW = forecast.nexts.map(d => [d.deaths, d.w])
forecast.kdeRes = fc.kde(VW)
}
return forecasts
}
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

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