D3 Treemap - help wanted

Can anyone help with this?
I have no clue how to calculate the correct area of each rectangle.

get it figured out? they look the right size at first glance

Take out “.round(true)”, line 12 of your javascript. That command tells the treemap to round off the areas of the rectangles, which the test isn’t configured for. I forked the code and took out the ‘.round(true)’ and it passed that test.

Cheers, and thanks for the explanation. :+1: