If they were to determine the length of each bar using amount of lines instead of percentage of lines, all that would be immediately clear is that females have less lines, a fact well established in the rest of the article, and the point would be lost.
The bar graphs might visually amplify the gap, but 1.1 million lines versus more than 5 million is a real gap, for example.
If anything, they gave us 2 different views on the data, and that double ;-) what we usually get.