Adding bar chart with jQuery