add a basic treemap and div-rectangle function