October 11 2022

Agenda

  • Finish baby name plot
  • Questions about the midterm study guide
  • Avoiding pitfalls

Baby Names Line Plot

What we did so far

If you don’t have the code from last class, you can download the project.

Not really a line plot, a “point” plot. How do we add lines?

Adding group lines

 marks: [
   ...,
        {
            type: "group",
            from: { 
                facet: {
                    name: "series",
                    data: "babyNames",
                    groupby: "sex"
                }
            },
            marks: [
                ...
              ]
        }
 ]

Questions about the midterm?

Avoiding Pitfalls

Lego Themes (Bar Plot)

Download the project and make improvements to the plot.

  • Maximize data-to-ink ratio
  • Avoid multiple font faces, and extraneous colors and backgrounds
  • Simplify, mute, or delete gridlines
  • Remove superfluous axis marks and labels
  • Avoid excessive decorative embellishments

Consider:

  • data quality, scales, and perceptual issues
  • Munzner’s what-why-how framework

Broadway (Line Plot)

Download the project and make improvements to the plot.

  • Maximize data-to-ink ratio
  • Avoid multiple font faces, and extraneous colors and backgrounds
  • Simplify, mute, or delete gridlines
  • Remove superfluous axis marks and labels
  • Avoid excessive decorative embellishments

Consider:

  • data quality, scales, and perceptual issues
  • Munzner’s what-why-how framework

Board Games Geeks (scatterplot)