Adding a histogram component.