Embedded EthiCSTM @ Harvard Bringing ethical reasoning into the computer science curriculum

We Value Your Feedback! Help us improve by sharing your thoughts in a brief survey. Your input makes a difference—thank you!

Code, Data, and Art (CS 73) – Fall 2023

First time reviewing a module? Click here.

Click  to access marginalia information, such as reflections from the module designer, pedagogical decisions, and additional sources.

Click “Download full module write-up” to download a copy of this module and all marginalia information available.

Module Topic: Ethics of Data Visualization: Emotion and Manipulation
Module Author: Anni Räty

Course Level: Introductory undergraduate
AY: 2023-2024

Course Description: “A studio course where software is used as an artistic medium. The course is designed to expose students to current perspectives on the intersection of computer science and art, and to build skills that will allow them to express themselves creatively via software. An additional focus will be the role of data in modern artistic practice.” (CS 73 course website)

Semesters Taught: Fall 2023

    Tags

  • feminism [phil]
  • manipulation [phil]
  • rationality [phil]
  • trust [phil]
  • trustworthiness [phil]
  • data visualization [CS]
  • data graphics [CS]
  • design [CS]
  • visualization [CS]

Module Overview

This module focuses on ethical issues in data visualization. Principles of data visualization have historically emphasized clarity and rational persuasion. Feminist work on visualization challenges these principles, and guides practitioners to elevate emotion and to understand data graphics as a communicative medium. In this module, students navigate this dialectic and reflect on the aims and responsibilities of data visualizers and data artists. The module introduces students to philosophical accounts of manipulation. In class activities, students use these accounts to assess and evaluate their own and others’ visualization work.

    Connection to Course Technical Material

This module was initially conceived of as a module on Data Feminism, similar to prior modules delivered in CS 171. This material and related material on emotion in data visualization was covered in prior class sessions with the professor. Future iterations of the module could either cover this material, or reframe the module introduction to focus only on the question of manipulation in visualization.

The module follows up on a lecture on Data Feminism and the role of emotion in data visualization. Prior to the module students have completed a number of homework projects and studio critiques.

Goals

Module Goals

  1. Familiarize students with the dialectic between principles of graphical integrity and feminist work on data visualization. 
  2. Familiarize students with the notions of manipulation and rational persuasion. 
  3. Practice identifying and evaluating graphical choices. 
  4. Practice identifying ways in which data graphics can appeal to emotion.

    Key Philosophical Questions

Before this module, students are introduced to the idea that data graphics appeal to emotion, and that data graphics are communicative (as opposed to scientific) instruments. In the module students consider what values should guide data visualization. In this module students learn about the difference(s) between manipulation and rational persuasion. In class activities students apply these concepts to particular cases, and use them to propose principles of responsible data visualization.

  1. What is manipulation?
  2. What is rational persuasion?
  3. How can data visualizations persuade responsibly?
  4. How can data visualizations appeal to emotion?
  5. Are data graphics a scientific instrument?

Materials

    Key Philosophical Concepts

In this module students are introduced to four different views of manipulation. These views explain manipulation in terms of harm, undermining of autonomy, covert influence, and bypassing rationality. In class activities students use these views of manipulation to identify and evaluate graphical and design choices.

  • Manipulation
  • Rationality
  • Deception
  • Emotion
  • Autonomy
  • Harm
  • Objectivity

    Assigned Readings

The chapter from Data Feminism argues that data graphics are not objective scientific instruments, and prompts practitioners to elevate embodiment and emotion.

The chapter on online manipulation summarizes four influential views of manipulation. These views are used in class to prompt reflection on what manipulation is, and when/why it is morally problematic. Although the topic of the text is online manipulation, the views translate very easily to other domains.

  • “On Rational, Scientific, Objective Viewpoints from Mythical, Imaginary, Impossible Standpoints” in D’Ignazio, Catherine (2020). Data feminism. The MIT Press. Edited by Lauren F. Klein.
  • “Online manipulation: Charting the field” in Klenk, Michael & Jongepier, Fleur (eds.) (2022). The Philosophy of Online Manipulation. Routledge.

Implementation

Class Agenda

  1. Overview and tie in to class session on emotion
  2. “Clarity without persuasion” as an aim for data visualization
  3. Persuasion and rhetoric: data visualization as communication
  4. Manipulation: outcome and process views
  5. Group exercise: is this visualization manipulative? What would make it more/less so?

    Sample Class Activity

In future iterations of the module, students might bring in their own visualization projects for this class activity.

During the module students are introduced to four philosophical views of manipulation. For each view, students are asked to give examples of actions that are, and are not, manipulative according to the view.

Students are then given sample data graphics to discuss. Students are asked to identify graphical choices that make the visualization manipulative (or not), and to identify changes that could be made to the graphic to make it less manipulative.

    Module Assignment

This assignment requires that the students are working on another class project, which may not be the case (if e.g. the module date is very early).

This class has regular critique sessions where students present and discuss their own data visualization projects. As a follow-up assignment, students include an ethical reflection of their work as part of their critique presentation(s). In the reflection, students

  1. explain the ethically relevant graphical choices they have made. 
  2. explain their positionality as it relates to the work.

Lessons Learned

Student response to the module was overall positive. The module was well attended (approx.⅔ of class present) and discussion was lively.

  • In discussion, several students referred to their own visualization projects and to graphical choices that they had made during these projects. The students’ own work could be a more central focus of the module, when it is taught in a studio class like CS73. 
  • Depending on class size for future iterations of the module, class activities could be conducted with the entire group.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 4.0 International License.

Embedded EthiCS is a trademark of President and Fellows of Harvard College | Contact us