updated Vertical Bar Chart

code refactoring