Data: simple graphs in rstudio

 

Data: Simple Graphs in RStudio

Background: As we have learned, a lot of thought goes into the design of a visualization. This week we review how the data types influence the graphing types.

Assignment:

Graphs to Produce:

Pie Chart:

  • Create a pie chart of the computer ram
  • Label the ram sizes as follows: 2GB, 4GB, 8GB, 16GB, 24GB, 32GB
  • Title the pie chart as “Computer Ram”
  • Color the pie chart using the rainbow option

Bar Plot:

  • Create a barplot of the computer screen sizes
  • Label the x axis as “Screen Sizes”
  • Label the y axis as “Frequency”
  • Title the barplot as “Computer Screen Sizes”
  • Color the bars in the barplot any color you wish.

Histogram:

  • Create a histogram of the computer prices
  • Label the x axis as “Prices”
  • Title the histogram as “Computer Prices”
  • Give the histogram any color you wish.

Box Plot:

  • Create a boxplot of the comparing the computer price and premium category
  • Label the y axis as “Price”
  • Label the x axis as “Premium”
  • Title the boxplot as “Premium Computer Prices Distribution”
  • Color the boxplot any color you wish.

Scatter Plot:

  • Create a scatter plot of computer price and hard drive size
  • Label the x axis as “Hard Drive Size”
  • Label the y axis as “Price”
  • Title the scatter plot as “Computer Price vs Hard Drive Size”
  • Color the scatter any color you wish.

Your document should be an easy-to-read font in MS Word (other word processors are fine to use but save it in MS Word format). Your cover page should contain the following: Title, Student’s name, University’s name, Course name, Course number, Professor’s name, and Date.

Submit your assignment on or before the due date.

7-esl
Calculate your essay price
(550 words)

Approximate price: $22

How it Works

1

It only takes a couple of minutes to fill in your details, select the type of paper you need (essay, term paper, etc.), give us all necessary information regarding your assignment.

2

Once we receive your request, one of our customer support representatives will contact you within 24 hours with more specific information about how much it'll cost for this particular project.

3

After receiving payment confirmation via PayPal or credit card – we begin working on your detailed outline, which is based on the requirements given by yourself upon ordering.

4

Once approved, your order is complete and will be emailed directly to the email address provided before payment was made!