Published
Edited
Jun 5, 2021
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
harmonicSeries = {
let sum = 0;
for (let i = 1; i <= n; i++) {
sum = sum + 1 / i;
yield sum;
}
}
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