Linked bar charts with sorting functions
Copied and tweaked from Scott Murray’s examples. This gives introduction to:
- linking together two graphs built from same dataset
- adding 3 different sorting buttons based on ascending/descending of different variables