To create a box-and-whisker plot, we start by ordering our data (that is, putting the values) in numerical order, if they aren't ordered already. Then we find the median of our data. The median divides the data into two halves. To divide the data into quarters, we then find the medians of these two halves.