added example for bar chart