In this chapter, we discussed when to use bar charts. We built a basic chart based on return options for products. After adding more data points to our returns chart, we learned how to rotate the ticks of our axes. We also learned how to add spaces around our categories as well as between each individual bar using
We created a bar chart showing multiple data series and a dropdown allowing us to change which trend line we displayed. We added a click event handler so that a new chart appeared with expanded data for the bar clicked on. We finished by adding hover event handlers to create a table of all the data points for the selected data series.
In the next chapter, we will look at stacked bar charts and horizontal ...