// Since we are in a functional programming syntax, we can group by other more complex functions in the Binning function with the mapping operator like: into bins of 10000 dollars
//Here an example of the Rollup function of D3: it is like grouping, but it also collapses - or aggregates - each group into one roll. So we might want to specify an aggregation function (here the mean population) AND a binning function IncomePerCapita that gives some derived value for the group :
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.