Approximations for fitting text into a treemap layout, for Stack Overflow question how to make sure text in treemap cells does not overflow.
Average character width data from https://www.math.utah.edu/~beebe/fonts/afm-widths.html.
https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.js