placeholder image to represent content

Data Visualization in R

Quiz by Aaron Curtis

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
32 questions
Show answers
  • Q1
    You can’t tackle big data unless you have experience with small data.
    True
    False
    30s
  • Q2
    An R __________ is a collection of functions, data, and documentation that extends the capabilities of base R.
    data.frame
    repository
    library
    package
    30s
  • Q3
    You can install the complete tidyverse with a single line of code:
    install.packages("tidyverse")
    import("tidyverse")
    library("tidyverse")
    load("tidyverse")
    30s
  • Q4
    Once you have installed a package, you can load it with the _________ function.
    setwd()
    library()
    load()
    import()
    30s
  • Q5
    The ggplot2, tibble, tidyr, readr, purrr, and dplyr packages are known as the ______ of the tidyverse.
    trunk
    foundation
    core
    center
    30s
  • Q6
    The easiest way to include data in a question is to use ______ to generate the R code to recreate it.
    input()
    dput()
    recreate()
    generate()
    30s
  • Q7
    ggplot2 implements the ___________, a coherent system for describing and building graphs.
    descriptions of data
    aesthetics of attributes
    grammar of graphics
    characters of charts
    30s
  • Q8
    To load the core tidyverse packages use the _________ command.
    load(tidy-core)
    install.packages(tidyverse)
    use.package(tidyverse)
    library(tidyverse)
    30s
  • Q9
    A _______ is a rectangular collection of variables (in the columns) and observations (in the rows).
    data cube
    pivot table
    meta matrix
    data frame
    30s
  • Q10
    ________ creates a coordinate system that you can add layers to.
    coord()
    ggplot()
    geom()
    graph()
    30s
  • Q11
    The first argument of ggplot() is the ______ to use in the graph.
    aesthetic
    mapping
    dataset
    statistic
    30s
  • Q12
    You complete your graph by adding one or more ______ to ggplot().
    plots
    layers
    charts
    aesthetics
    30s
  • Q13
    Each geom function in ggplot2 takes a _______ argument. This defines how variables in your dataset are mapped to visual properties.
    data
    mapping
    visual
    variables
    30s
  • Q14
    The mapping argument is always paired with _____.
    geom()
    aes()
    data()
    coord()
    30s
  • Q15
    Running ggplot(data = mpg) by itself will generate
    a blank grid
    a scatterplot using the first two variables in mpg
    a prompt for the variable names
    an error
    30s

Teachers give this quiz to your class