changing to svg bar chart