//also add an occurence onto the matching day for the purposes of averaging
acc[day.birthday].births+=day.births;
acc[day.birthday].count++;
returnacc;
},{})
)
birthExtents=d3.extent(birthData,(d)=>d.births)
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.