This demonstrates how to add an interactive legend using events such as `onMouseOver`, `onMouseOut`, and `onClick`

Area chart exampleAverage number of pets20152016201720182468CatsDogsBirds