Welcome to CS 171!
This website is for both the Harvard college CS 171 course and the Harvard Extension School CSCI E-171 course. All our weekly material, assignments, handouts, quizzes, and pre-readings will be listed on Canvas under Modules.
College Class Meeting Times:
- Lab: Mondays, 2:15 PM - 3:30 PM ET.
- Lecture: Wednesdays, 2:15 PM - 3:30 PM ET. (Live stream available for DCE students, video recordings available for all)
- Room: 114 Western Ave, Rooms 2111+2112
DCE (Harvard Extension School) Meeting Times:
- Virtual Lab: Mondays, 7:00 PM - 8:30 PM ET.
- Virtual Section: Thursdays, 7:00 PM - 7:45 PM ET.
- Room: Online on Zoom (links on Canvas)
Instructor and Head TF:
This course is an introduction to key design principles and techniques for interactively visualizing data. The major goals of this course are to understand how visual representations can help analyze and understand complex data, how to design effective visualizations, and how to create your own interactive visualizations using modern web-based frameworks.
After completion of the course, you will be able to:
- Critically evaluate visualizations and suggest improvements and refinements
- Apply a structured design process to create effective visualizations
- Conceptualize ideas and interaction techniques using sketching and prototyping
- Use principles of human perception and cognition in visualization design
- Apply methods for visualization of data from a variety of fields
- Work constructively as a member of a team to carry out a visualization project
CS171 uses an active learning format with a mix of lectures, activities, self-guided labs, homework, and group projects. Here is the weekly rhythm of the course:
- Hand in your homework assignments at noon ET on Mondays.
- Complete the assigned pre-reading and the Canvas pre-reading quiz before each week's programming lab.
- College Students: Attend a mandatory live class (75 min) to participate in lectures, activities, discussions, and projects in breakout groups. Upload the completed activities as part of your homework by the following Monday. In-person class attendance is mandatory except for DCE and exempt students.
- DCE Students: Attend a virtual section (45 min) to participate in group discussions and group projects. Attendance to the online section is strongly encouraged, but you might be excused on an individual basis.
Throughout the week
- Work through reading materials that will be posted on Canvas.
- Complete weekly homework assignments, which include finishing your lab notebooks, programming exercises, and work for your group project.
- Attend office hours (or virtual office hours) with the TFs to get help with the labs and homework assignments. DCE students can attend weekly sections with the TFs.
- Overall, expect to spend about 8-10 hours on asynchronous materials, homework, and project work outside of classes and labs. Students with less programming experience typically will spend more time.
Each of the course components is discussed in more detail below.
We have limited enrollment in the course to provide the best possible online learning experience during live classes.
College Students: If you are interested in joining this course, please complete homework 0 (HW 0), posted on Canvas (under Modules). HW 0 includes the enrollment survey, which automatically enters you into the enrollment lottery. You must fill out the enrollment survey by Aug. 24th (midnight), and you will be notified about the results by Aug. 25th. If you are offered a spot in the class, you have to formally accept the spot (by replying to the email) and complete enrollment on my.harvard by the end of the day of Aug. 25th. Otherwise, we will offer your spot to a student on the waitlist. The lottery is random, with a slight boost for seniors and CS concentrators.
DCE Students: Sign-up is on a first-come-first-serve basis.
In preparation for the weekly programming labs, you will read chapters in the following textbook:
Interactive Data Visualization for the Web, Scott Murray, O’Reilly (2017), Second edition
An introduction to D3 for people new to programming and web development, published by O’Reilly. “Explaining tricky technical topics with aplomb (and a little cheeky humor) is Scott Murray’s forte. If you want to dive into the world of dynamic visualization using web standards, even if you are new to programming, this book is the place to start.” - Mike Bostock, creator of D3.
Harvard College students can access an online copy of the book on Hollis, or you can purchase the book from the Coop bookstore or any other online retailer.
College students: The class meets every Wednesday. Attending these in-person classes is mandatory and a crucial component of learning the material in this course. In each class, we will spend some time on design exercises and activities. Please upload the completed activities as part of your homework. Please arrive on time, as we will start promptly. At the end of each class, we will ask you to fill out and submit a brief reflection to collect feedback.
DCE Students: Instead of attending class in person, DCE and exempt college students can participate in a live zoom stream of the class or watch edited video recordings that will be posted no more than 24 hours after class. In either case, we ask you to complete the in-class activities independently and upload them as part of your homework. Additionally, we will hold a weekly virtual section for the activities and group-work covered in the lecture for DCE students. Groups will be assigned by the teaching staff.
College students: You will attend a mandatory programming lab every Monday. If you cannot attend a lab in person and are excused, you can attend the virtual lab with the DCE students Monday evening.
DCE students: Instead of attending labs in person, DCE students will have a weekly online lab on Monday evenings to work on the lab alone or in pairs. Attending the online lab is strongly encouraged but not mandatory.
Lab pairs: You will work on all labs in pairs. We will assign your lab partner at the beginning of each lab. You will work together on the lab with your pair partner and are also allowed to discuss the homework with your lab partner. However, each one of you has to submit their own lab and homework and let us know who you worked with.
Asynchronous Materials & Quizzes
In preparation for class each week, you will work on your own through asynchronous materials (mainly book chapters) to ensure that you are prepared for the programming labs and the activities in class. For the lab readings, you will be asked to complete brief online quizzes that test your understanding of the material for that week.
Weekly homework assignments are going to provide an opportunity to improve your design and programming skills. Homeworks will be due every Monday at noon ET. See the homework as an opportunity to learn and not to “earn points”. You can discuss solutions to homework assignments with your TFs during office hours. Homework solutions will not be posted publicly.
A big part of the course will be a group projects. You will work in teams of three students to design and implement interactive visualizations to answer questions about a specific topic and dataset. We will use a design sprint process with a series of graded milestones. You can choose your own team with three students each. Your team will create a web page that tells a story with interactive visualizations to answer questions about a topic of your own choosing. A small number of projects will win the coveted Best Project prize (Swiss chocolate).
Office Hours & Communication
The teaching fellows will provide in-person and online office hours at several different times each week for questions you may have. We will also use Ed as our discussion forum and for all announcements, so it is important that you are signed up as soon as possible. Ed should always be your first resource for seeking answers to your questions. You can also post privately so that only the course staff sees your message.
A quick guide to the different platforms for communication:
- If you’re looking for general information about the class, its syllabus, a listing of the assignments, how we will grade you, or other course policies, you should visit our Canvas class site.
- To submit your individual papers, problem sets, and final project pieces, you will use Canvas. More details when we start assigning these things.
- If you want to ask a question about the course, the class schedule, or specific assignments, you should post your questions on Ed. The teaching staff will also post class-wide announcements on Ed.
- For live online video sessions, we will use Zoom. Recorded videos will be linked on Canvas.
- The links to the Zoom sessions, Ed, and Slack are in the navigation menu on the left. Links to posted materials and recorded videos are on the Modules page.
This course can be taken for a letter grade only; there is no pass/fail option. The course grade comprises:
- Class Activities (10%)
- Lab Pre-reading Quizzes (10%)
- Visualization Design Quizzes (15%)
- Programming Assignments (30%)
- Final Project (35%)
We will drop your lowest three scores in both the class activities and lab quizzes. You get four late days for your homework for the entire semester, but you can use no more than two late days on any single assignment.
Any concerns about grading errors must be clearly articulated in writing and sent to <email@example.com> within one week of receiving the grade.
We will map your points to letter grades using the following table:
- A: 100-95%; A-: 90-95%
- B+: 85-90%; B: 80-85%; B-: 75-80%
- C+: 70-75%; C: 65-70%; C-: 60-65%
- D+: 55-60%; D: 50-55%: D-: 45-50%
- F < 45%
Students taking this course for graduate credit are expected to do more work and perform at higher standards than undergraduate credit students. In particular, we may assign additional tasks in homework for graduate-credit students, and we expect a more comprehensive final project.
For each class and lab, please take care to work through and complete the week’s asynchronous materials prior to class and lab.
College students: Except for DCE and exempt students, it is important that you attend and proactively participate during the labs and live class each week. Please let us know as soon as possible if you have reoccurring extenuating circumstances that affect your ability to attend class or labs. We will ask you for an email confirmation from your resident dean and will try to work out an agreeable solution with you and your team.
DCE students: Attendance for both the virtual class section and the virtual lab are strongly encouraged but not mandatory. You might be excused from the virtual class or lab on an individual basis. DCE students participate completely online, there is no in-person participation for DCE students.
For virtual sections and labs, or when joining the classes live zoom stream, please make sure to:
- participate from a quiet office or similar space (and not from a car, plane, or train), and
- participate with your camera turned on, using horizontal (not vertical) video.
You can use 4 late days for your homework throughout the semester (not on the final project). However, you can use no more than 2 late days on any single homework. We post assignments ahead of time and give you plenty of time to complete them. So please plan ahead, we do not make any exceptions. For unexcused late submissions, we will deduct 10% of an assignment's points per day that it is submitted late.
Rare exceptions can be made on a case-by-case basis. If you have a verifiable medical condition or other special circumstances that interfere with your coursework, please let the head TF know as soon as possible. You will need to provide a written note or email from a medical professional or your resident dean confirming your inability to participate in course work.
We expect you to adhere to the Harvard Honor Code at all times. Failure to adhere to the honor code and our policies may result in serious penalties, up to and including automatic failure in the course and reference to the ad board.
You may discuss your homework and labs with other students, but you are expected to be intellectually honest and give credit where credit is due. In particular:
- You may submit the same lab notebook as your lab pair partner, but you must add their name to your notebook submission;
- You have to complete your homework and weekly quizzes entirely on your own;
- You may discuss your homework with your lab partner for that week. You can discuss your code structure and help each other debugging. However, you may not share homework code.
- You cannot share your homework code with anyone else, including on EdStem;
- You may not submit the same or similar work to this course that you have submitted or will submit to another, and
- You may not provide or make available solutions to individuals who take or may take this course in the future.
If the assignment allows it and for your projects, you may use third-party libraries and example code, so long as the material is available to all students in the class and you give proper attribution. Do not remove any original copyright notices and headers.
DCE Students: You are responsible for understanding Harvard Extension School policies on academic integrity and how to use sources responsibly. Stated most broadly, academic integrity means that all course work submitted, whether a draft or a final version of a paper, project, take-home exam, online exam, computer program, oral presentation, or lab report, must be your own words and ideas, or the sources must be clearly acknowledged. The potential outcomes for violations of academic integrity are serious and ordinarily include all of the following: required withdrawal (RQ), which means a failing grade in the course (with no refund), the suspension of registration privileges, and a notation on your transcript.
Using sources responsibly is an essential part of your Harvard education. We provide additional information about our expectations regarding academic integrity on our website. We invite you to review that information and to check your understanding of academic citation rules by completing two free online 15-minute tutorials that are available on this site. The tutorials are anonymous open-learning tools.
College students: Harvard University values inclusive excellence and providing equal educational opportunities for all students. Our goal is to remove barriers for disabled students related to inaccessible elements of instruction or design in this course. If reasonable accommodations are necessary to provide access, please contact the Disability Access Office (DAO). Accommodations do not alter fundamental requirements of the course and are not retroactive. Students should request accommodations as early as possible, since they may take time to implement. Students should notify DAO at any time during the semester if adjustments to their communicated accommodation plan are needed.
DCE students: Harvard Extension School is committed to providing an inclusive, accessible academic community for students with disabilities and chronic health conditions. The Accessibility Services Office (ASO) offers accommodations and supports to students with documented disabilities. If you have a need for accommodations or adjustments, contact Accessibility Services directly via email at <firstname.lastname@example.org> or by phone at 617-998-9640.
Some of the material in this course is based on the classes taught by Alexander Lex at the University of Utah, Carlos Scheidegger at the University of Arizona, Marc Streit at JKU Linz, Pat Hanrahan at Stanford, Jeff Heer at the University of Washington, Hans-Joerg Schulz at the University of Rostock, Nils Gehlenborg at Harvard Medical School, Torsten Möller at the University of Vienna, Tamara Munzener at the University of British Columbia, Helwig Hauser at the University of Bergen, Maneesh Agrawala at UC Berkeley, and Hendrik Strobelt at IBM Research. We have heavily drawn on materials and examples found online and tried our best to give credit by linking to the original source. Please contact us if you find materials where the credit is missing or that you would rather have removed.
The syllabus page shows a table-oriented view of the course schedule, and the basics of course grading. You can add any other comments, notes, or thoughts you have about the course structure, course policies or anything else.
To add some comments, click the "Edit" link at the top.