23 - refactoring how font-size is determined for the graph