Test your R data visualization skills with this 20-question R Graphics MCQ quiz! This R Data Visualization Quiz is perfect for R learners, statisticians, and data analysts preparing for exams or job interviews. Covers ggplot2, Plotly, animations, choropleths, SF maps, and best practices in R visualization. Assess your expertise now! Let us start with the R Data Visualization Quiz now.
Online R Data Visualization Quiz with Answers
R Data Visualization Quiz with Answers
- Which function do you use to create a pie chart in Base R?
- What aesthetic do you use to select the variable for painting in a choropleth?
- What R package do you need to draw Simple Features maps with R in conjunction with ggplot?
- What geom is used to draw maps using simple features data?
- Which of these most accurately describes how to fill in the colors for a choropleth made with simple features data?
- What is the best practice for adding labels to points in a bubbleplot made with simple features data?
- What is the advantage of the usa_sf() data?
- What is the closest animated equivalent to making a static figure with facet_wrap and a categorical variable?
- What is the most straightforward way of saving an animation?
- What is “easing”?
- When would you use transition_layers()?
- How can you control the speed of a transition between frames in transition_states?
- What is the basic function for adding the plotly interactive interface to a ggplot figure?
- Which of these is a way to export an interactive plotly figure?
- What aesthetic do you set in the ggplot() function that allows ggplotly to animate the figure?
- How do you export an animation created with ggplotly?
- What is the point of mapping the id’s aesthetic when animating a ggplot figure with ggplotly?
- What will be the output of this R code? ggplot(data, aes(cty, hwy)) + geom_point() + stat_smooth(method = lm)
- Is it better to use a .shp file or .geojson file?
- When you want to use a .geojson or .shp file to draw a simple features map, what should you do with other files that might be associated with those files when you download the data?
Statistics for Data Science & Analytics