Published
Edited
Apr 26, 2019
3 stars
Insert cell
md`# Array sort`
Insert cell
md`### Array of ${count} elements with random numbers from 0 to 20`
Insert cell
drawGraph(data)
Insert cell
md`### Sorted array`
Insert cell
drawGraph([...data].sort((a, b) => a - b))
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
count = 100
Insert cell
data = getRandomArr(count)
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