The code shown below was used to create the scatter plot example in the Graphics and Visualization section. The full set of countries is included but note that two entries (Israel and Singapore) are incomplete, and R ignores these in this case.
## read csv formatted file (as per the dataset shown below)
## generate x,y scatterplot
## add labels
## add regression line from linear model lm() and provide summary stats