
---
output: 
  html_document:
  pdf_document: default
  word_document: default
title: "Assignment 6: Visualization - Aesthetic Mapping"
---

***How to do it?***: 

- Open the Rmarkdown file of this assignment ([link](assignment6.Rmd)) in Rstudio. 

- Right under each **question**, insert  a code chunk (you can use the hotkey `Ctrl + Alt + I` to add a code chunk) and code the solution for the question. 

- `Knit` the rmarkdown file (hotkey: `Ctrl + Alt + K`) to export an html.  

-  Publish the html file to your Githiub Page. 

***Submission***: Submit the link on Github of the assignment to Canvas.

```{r setup, include=FALSE}
knitr::opts_chunk$set(message = FALSE)
```

-------

### Questions on Your Selected Data

Choose a dataset and produce the following types of plots and comment on each plot. Plots should be meaningful. If you use the data we used in class, make sure the plots are not the same as the ones in the slides. 

-------

1. For one continuous variable:

- Density

- Histogram 

- Boxplot

-------

2. For one categorical variable

- Barplot

-------

3. For two continuous variables

- Scatter Plot

- Line Plot

- Smooth Plot

-------

4. For one continuous + one categorical variables

- Density

- BoxPlot

-------

5. For two categorical variables: barplot


-------

6. A plot that contains three variables


