add scatterplot from chapter 8