We recognize and acknowledge that McMaster University meets and learns on the traditional territories of the Mississauga and Haudenosaunee nations, and within the lands protected by the “Dish With One Spoon” wampum, an agreement amongst all allied Nations to peaceably share and care for the resources around the Great Lakes.

STATS 744 – Data Visualization

2021 Fall Term

Instructors: Dr. Ben Bolker and Jonathan Dushoff | Course e-mail: macdataviz@gmail.com | Offices: HH-314 (Bolker), LSB 332 (Dushoff) | Office hours: TBA | Course web page : https://mac-theobio.github.io/DataViz/

Course Description

Theoretical and practical grounding in data visualization in statistics and data science, including both the foundational work of Cleveland, Tufte, and Wilkinson and recent developments and controversies in the area of data visualization. Focus on reproducible production of effective, honest, aesthetically pleasing graphical outputs. For practical applications the course will focus on the ggplot2 package for R, but other more specialized platforms (e.g. ggobi, leaflet, D3.js) will also be discussed. Includes topics such as visualization of uncertainty; dynamic/animated graphics; high-dimensional and spatial data.

Prerequisite(s): Intermediate proficiency in R; knowledge of basic inferential statistics

Course and Learning Objectives

Learning Objectives

Upon completion of this course, the student will be able to:

  1. Work with R, RStudio (or other interfaces), GitHub, ggplot2 and other related R packages to generate elegant and reproducible graphical presentations of data.

  2. Understand and apply principles of graphical design for quantitative information.

  3. Effectively manipulate data in R to create reproducible pipelines for visualization.

  4. Explain and justify graphical design choices on the basis of scientific, analytical, psychological, and aesthetic criteria.

Class Activities:

The first half of the course will comprise weekly lectures and class discussion (1 2-hour and 1 1-hour in-person session per week; timing and location to be determined following an organizational meeting during the first week of the term). The second half of the course will shift over to mainly in-class work in groups on a term project. There will be some weekly reading assignments and 3-7 homework assignments, as well as a final project (possibly in pairs or groups).

Materials & Fees

Required Materials/ Resources

Textbook: Claus Wilke, Fundamentals of Data Visualization; full text available online, hard copy can be purchased.

Computer resources: You will need access to a computer (Windows/MacOS/Linux) capable of running a recent release of the R programming language. Most computers from the last 5-10 years will be fine. It will be convenient, although not absolutely necessary, to have access to a laptop computer that can be brought to class for in-class work; please let the instructors know if this will be a problem.

Virtual Course Delivery

We do not expect there to be a virtual component to the course. However, in the unlikely event that some components are online it is expected that you have reliable access to the following: 

If you think that you will not be able to meet these requirements, please contact uts@mcmaster.ca as soon as you can. Please visit the Technology Resources for Students page for detailed requirements. If you use assistive technology or believe that our platforms might be a barrier to participating, please contact Student Accessibility Services, sas@mcmaster.ca, for support.

Course Overview and Assessment

Topics

Part 1: Core topics (pre-midterm break, definitely covered)

Topic Schedule
Data manipulation basics Week 1
Graphical principles (Cleveland, Tufte, Wilkinson & Wickham) Week 2
Exploratory graphics/data analysis Week 3
Graphics for model diagnosis Week 4
Graphics for inference Week 5
Expository graphics; ethics and data viz Week 6

Part 2: Additional topics (post break, order and details TBD)

Topic Schedule
Visualizing uncertainty
Info viz vs. Data viz
3D/perspective plotting
High-dimensional and compositional data
Dynamic graphics
Spatial data and mapping

Evaluation

Assessment Requirements

Grade Component

Weight

Class participation (see below) 15%
Weekly homework (3-7 assignments) 35%
Project presentation
(final week[s] of term)
20%
Project writeup 30%

Homework rubric We mark homework assignments on a scale of 0-3. The rubric is:

Historically most marks are in the 1.5 - 2.5 range. A mark less than 2 means that your work is deficient; you should work to address those deficiencies in subsequent assignments (if you don’t understand the cause of your low mark, please ask us). A mark of 2 means you shouldn’t worry about your grade in the course.

The mark/grade correspondence is approximately: 1.8-2 = B+, 2-2.2 = A-, 2.2-2.4 = A, 2.4-3 = A+.

Participation marks

To make participation marks more objective, part of this component will be based on out-of-class participation. At various times during the term, you will be asked to write a few sentences to a paragraph on a particular topic. The purpose of these assignments is to assess your general depth of engagement and understanding. If you don’t come to lecture you might not hear about these participatory emails. If you don’t complete these assignments you will receive a low participation mark. You can also enhance your participation mark by engaging in class.

You can gain your first participation mark by sending an e-mail to the instructors with the subject line “stat 744: <yourmacid> read the outline”. For example, Bolker’s subject line would be “stat 744: bolkerb read the outline”.

Requests for Relief for Missed Academic Term Work

McMaster Student Absence Form (MSAF): In the event of an absence for medical or other reasons, students should review and follow the Academic Regulation in the Undergraduate Calendar “Requests for Relief for Missed Academic Term Work”.

Academic Accommodation of Students with Disabilities

Students with disabilities who require academic accommodation must contact Student Accessibility Services (SAS) at 905-525-9140 ext. 28652 or sas@mcmaster.ca to make arrangements with a Program Coordinator. For further information, consult McMaster University’s Academic Accommodation of Students with Disabilities policy.

Academic Accommodation for Religious, Indigenous Or Spiritual Observances (Riso)

Students requiring academic accommodation based on religious, indigenous or spiritual observances should follow the procedures set out in the RISO policy. Students should submit their request to their Faculty Office normally within 10 working days of the beginning of term in which they anticipate a need for accommodation or to the Registrar's Office prior to their examinations. Students should also contact their instructors as soon as possible to make alternative arrangements for classes, assignments, and tests.

Courses with An On-Line Element

Some courses may use on-line elements (e.g. e-mail, Avenue to Learn (A2L), LearnLink, web pages, capa, Moodle, ThinkingCap, etc.). Students should be aware that, when they access the electronic components of a course using these elements, private information such as first and last names, user names for the McMaster e-mail accounts, and program affiliation may become apparent to all other students in the same course. The available information is dependent on the technology used. Continuation in a course that uses on-line elements will be deemed consent to this disclosure. If you have any questions or concerns about such disclosure, please discuss this with the course instructor.

Online Proctoring

Some courses may use online proctoring software for tests and exams. This software may require students to turn on their video camera, present identification, monitor and record their computer activities, and/or lock/restrict their browser or other applications/software during tests or exams. This software may be required to be installed before the test/exam begins.

Academic Integrity

You are expected to exhibit honesty and use ethical behaviour in all aspects of the learning process. Academic credentials you earn are rooted in principles of honesty and academic integrity.

It is your responsibility to understand what constitutes academic dishonesty.

Academic dishonesty is to knowingly act or fail to act in a way that results or could result in unearned academic credit or advantage. This behaviour can result in serious consequences, e.g. the grade of zero on an assignment, loss of credit with a notation on the transcript (notation reads: “Grade of F assigned for academic dishonesty”), and/or suspension or expulsion from the university. For information on the various types of academic dishonesty please refer to the Academic Integrity Policy, located at https://secretariat.mcmaster.ca/university-policies-procedures- guidelines/

The following illustrates only three forms of academic dishonesty:

Authenticity / Plagiarism Detection

Some courses may use a web-based service (Turnitin.com) to reveal authenticity and ownership of student submitted work. For courses using such software, students will be expected to submit their work electronically either directly to Turnitin.com or via an online learning platform (e.g. A2L, etc.) using plagiarism detection (a service supported by Turnitin.com) so it can be checked for academic dishonesty.

Students who do not wish their work to be submitted through the plagiarism detection software must inform the Instructor before the assignment is due. No penalty will be assigned to a student who does not submit work to the plagiarism detection software. All submitted work is subject to normal verification that standards of academic integrity have been upheld (e.g., on-line search, other software, etc.). For more details about McMaster’s use of Turnitin.com please go to the McMaster Office of Academic Integrity’s webpage.

Conduct Expectations

As a McMaster student, you have the right to experience, and the responsibility to demonstrate, respectful and dignified interactions within all our living, learning and working communities. These expectations are described in the Code of Student Rights & Responsibilities (the “Code”). All students share the responsibility of maintaining a positive environment for the academic and personal growth of all McMaster community members, whether in person or online.

It is essential that students be mindful of their interactions online, as the Code remains in effect in virtual learning environments. The Code applies to any interactions that adversely affect, disrupt, or interfere with reasonable participation in University activities. Student disruptions or behaviours that interfere with university functions on online platforms (e.g. use of Avenue 2 Learn, WebEx or Zoom for delivery), will be taken very seriously and will be investigated. Outcomes may include restriction or removal of the involved students’ access to these platforms.

Students are advised that lectures, demonstrations, performances, and any other course material provided by an instructor include copyright protected works. The Copyright Act and copyright law protect every original literary, dramatic, musical and artistic work, including lectures by University instructors.

The recording of lectures, tutorials, or other methods of instruction may occur during a course. Recording may be done by either the instructor for the purpose of authorized distribution, or by a student for the purpose of personal study. Students should be aware that their voice and/or image may be recorded by others during the class. Please speak with the instructor if this is a concern for you.

Extreme Circumstances

The University reserves the right to change the dates and deadlines for any or all courses in extreme circumstances (e.g., severe weather, labour disruptions, etc.). Changes will be communicated through regular McMaster communication channels, such as McMaster Daily News, A2L and/or McMaster email.