styling changes
remove d3 binding in some part of the function