Public
Edited
Jul 8, 2024
7 forks
44 stars
Insert cell
Insert cell
kde = require('fast-kde')
Insert cell
Insert cell
Insert cell
density1d = kde.density1d(values1d, { bandwidth: 3, pad, bins })
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
density2d = kde.density2d(values2d, { bandwidth: 1, extent: [-2, 12] })
Insert cell
Insert cell
Insert cell
density2d.bandwidth(bw2d).heatmap({ color: d3.interpolatePiYG }) // returns an HTML canvas
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