Overview

Equal-height binning is used to create bins, or groups, with roughly the same number of objects. This type of binning is not very common for visualization, but it is useful for other purposes.

Equal-height binning

Given a table of student grades, say we want to divide the students into groups based on their grades. We want each group to have roughly the same number of students, and we want to group students of the same level, based on their grades.

First, let's get familiar with the grades table by producing descriptive data:

Get hands-on with 1400+ tech skills courses.