Modify Exercise 1 to achieve this visualisation:
Modify Exercise 2 to draw a horizontal visualisation using the same data. Example: