Complete the following steps to create a bar chart that displays a function of a continuous variable, grouped by the values of a categorical variable. If your data are arranged differently, go to Choose a bar chart.
In the following worksheet, LightOutput is the continuous variable and contains light output measurements. Temperature is the categorical variable and indicates the temperature level for each light output measurement. The graph shows the mean light output for each temperature level.