Question: R programming: ## Q2. Pie chart and its improvement. (10pts) # First, create a vector called pie_vec, it has 12 elements that are integers from

R programming:

## Q2. Pie chart and its improvement. (10pts) # First, create a vector called pie_vec, it has 12 elements that are integers from 1 to 12 (ascending), # then name each element with the corresponding month abbreviation, e.g., 1 as Jan. # Create a 2D pie chart of pie_vec, the portions being the values of vector elements. # Then do the same thing with a 3D pie chart, with pie3D() function from package plotrix. # Make sure your plots show the name/label for each portion. # Combine the two plots into one overall graph. (Hint: par() or layout() function)

# Explain the issue with pie charts; and the issue with 3D pie charts. # Propose another graph type to visualize the same data, show code and explain why it's a good choice.

# Note: change the graphic device setting back to one plot on one graph after the pie chart comparison.

## Your code here:

## Your answer here:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!