Published
Edited
Feb 9, 2021
1 fork
Importers
73 stars
Insert cell
Insert cell
Insert cell
hist(values, {
domain: [-4, 7],
thresholds: 20,
width: 120,
height: 20,
fillStyle: 'rgba(255,0,0,0.7)',
strokeStyle: 'rgba(255,0,0,0.4)',
domainLineWidth: 1
})
Insert cell
Insert cell
Insert cell
ticks(values, {
domain: [-5, 5],
width: 100,
height: 20,
strokeStyle: 'rgba(255,0,0,0.2)'
})
Insert cell
Insert cell
Insert cell
line(valuesShort, {
width: 100,
height: 30,
strokeStyle: 'rgba(255,0,0,1)'
})
Insert cell
Insert cell
Insert cell
area(valuesShort, {
width: 120,
height: 30,
strokeStyle: 'rgba(255,0,0,1)',
fillStyle: 'rgba(255,0,0,0.6)'
})
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