13.6 Plotly: Ribbons (confidence intervalls)

13.6.1 Exercise: Ribbons (1)

  1. Generate 4 scatterplots with Fertility as outcome variable and Agriculture, Examination, Education, Catholic as explanatory variables (see dataset swiss) and visualize them as small multiples. Make the graph publicaton ready! As below but better!

13.6.2 Exercise: Ribbons (2)

  1. See the graph below. An attempt to plot ribbons on top of each other. The code is below. Can you repair it? :-S