continued setting up new bar chart logic