Public
Edited
Jan 20, 2019
Fork of Violin Plot
1 fork
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
y = d3.scaleLinear().domain(d3.extent(data, d => d['Weight_in_lbs'])).range([height, 0])
Insert cell
histogram = d3.histogram()
.value((d) => d['Weight_in_lbs'])
.thresholds(y.ticks(12))
.domain(y.domain());
Insert cell
Insert cell
Insert cell
x = d3.scaleLinear().domain([-binsMax, binsMax]).range([width/4, 3*width/4]);
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