A line with a colon is a leaf, and the number is its size. A line without one is a section, and the lines under it belong to it.
treemap-beta
"Category A"
"Item A1": 10
"Item A2": 20
"Category B"
"Item B1": 15Indentation is the hierarchy, and it can go as deep as you like.
treemap-beta
"Products"
"Electronics"
"Phones": 50
"Computers": 30
"Clothing"
"Men's": 40A leaf with a bigger number gets a bigger rectangle. The three numbers here are three different areas.
treemap-beta
"Budget"
"Servers": 70
"Design": 20
"Ops": 10