basic working version of treemap