finished bubble and treemap first phase implementation