Task 1. Show life expectancy of countries in Africa

use world data

Task 2. Show the life expectancy of countries with population density greater than 100/km2

use world data

Task 3. Plot the population map of New Zealand, with colors for Marlborough, Auckland, and Gisborne only

use data nz dataset in spData.

Task 4. Show geographical centroids on New Zealand, with size proportional to log population/10.

color the map by median height of regions

use data nz and nz_height datasets in spData.

Task 5: make a 3d scatterplot with the mpg data using the following variables:

year, cty, model, colored by drv. label the axes by the variables

use data(“mpg”)