Exercise

# Plotting the group sizes

The predictor insight graph gives information about predictive variables. Each variable divides the population in several groups. The predictor insight graph has a line that shows the average target incidence for each group, and a bar that shows the group sizes. In this exercise, you will learn how to write and apply a function that plots a predictor insight graph, given a predictor insight graph table.

Instructions 1/2

**undefined XP**

- Plot the bars that show the Size of each group.
- Plot the incidence line that shows the average target incidence of each group.