Input: a line canvas W H, then a CSV district,building,kwh (rows grouped by district, in display order).
Compute the slice-and-dice layout: districts split the width left to right in input order (width ∝ district total), and each district's rectangle is split top to bottom by its buildings (height ∝ building kWh). Print per district Lucheng: x=0 y=0 w=50 h=60 (50%) and per building Library: x=0 y=0 w=50 h=36 aspect 1.4 (aspect = max(w/h, h/w), 1 decimal; coordinates with at most 1 decimal, without trailing .0). Then print worst aspect ratio: Airport 12.0 (squarified layouts keep rectangles closer to 1) and total 1000 kWh on a 100 x 60 canvas.