Spending bill in a treemap box

Margot Sanger-Katz and Alicia Parlapiano for NYT’s The Upshot broke down a Democrat spending proposal. I like the lead-in treemap that shows the proposed components and the box that it needs to squeeze into:

I’ve seen treemaps that transition into different sizes, but I don’t think I’ve seen a box drawn on the outside of the treemap for comparison. It feels natural.

Chart Type Used

Treemap