changed visualize density to visualize bar