Lecture 7 Flashcards

(12 cards)

1
Q

Affective intents

A

attempts to evoke a reaction or response to a
data visualization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

5 Design principles for effective visualizations

A
  1. Contrast – emphasize difference
  2. Repetition – reusing the same or similar elements throughout your
    design (e.g., slideshow, document) to bring unity, consistency, and
    cohesiveness
  3. Alignment – every element is connected visually, nothing appears
    randomly (e.g. plots presented side-by-side should have clear alignment)
  4. Proximity – related items should be grouped together (e.g. captions
    clearly grouped with appropriate plot)
  5. Simple is better – avoid unnecessary textual or graphical elements that
    distracts or hinders the audience’s interpretation of the data. See this blog post
    about simplicity in data visualizations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ggplot 2

A

package to visualize data in R, operates by layering composable parts piece-by-piece to build a plot.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

3 required layers/components of ggplot2 plot

A
  1. data
  2. Mapping
  3. layers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

data (ggplot)

A

starting point -
The data we will use to
construct the plot.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Mapping (ggplot)

A

the instructions on
how parts of the data will be
used to create our plot.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Layers (ggplot)

A

the geometry to
determine how data are displayed.
In other words, the type of plot to
be generated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

4 optional layers for ggplot

A
  1. scales
  2. facets
    3.coordinates
  3. theme
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Scales

A

controls how data values are mapped onto things you see in a
plot (e.g., axis scales decide how numbers spread along x- and y-axes; define
which colours or sizes represent different data values such as categories or
numeric values)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Facets

A

used to split up data into smaller panels (multiple plots) based on one or more variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Coordinates

A

sets the “frame” of your plot (e.g. change
shape of plot, aspect ratio etc.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Theme

A

change the “look and feel” of your plot (e.g.
background colour, location of legends)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly