Published
Edited
Aug 31, 2020
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
intervals = d3.range(1, 6).flatMap(oct => ratios.sort(d3.ascending).map(x => ({oct: oct, ratio: x, freq: (66 * Math.pow(2, oct)) * x})))
Insert cell
Insert cell
Insert cell
Insert cell
d3 = require("d3@5")
Insert cell
Insert cell
Insert cell
semis = ratios.map(x => x * 12 - 12).join(" ")
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