improving second ggplot examples and cleaning up end