Data 6: Introduction to Computational Thinking with Data Science and Society

A 14-week schedule of lecture slides, demo notebooks, readings, discussions, and assignments for Data 6. Open any linked notebook here in your browser—no installation required.

Data 6

How to use this page: Open the slides and demo notebook for each lecture, read the linked notes, and use the assignments column for labs, homework, projects, and discussion materials. Quizzes are taken in class and shown as plain text. Your instructor's syllabus is the final word on what to submit and when; term-specific dates are not listed here.

Instructor? Ready to adopt Data 6 for your course?

View the adoption guide
Weekly schedule
Week # Topic Slides Demo Reading Assignments
Week 1 · Intro Notebooks 1 Introduction Slides Demo Notes Lab 01 · Using Jupyter Notebooks
Discussion 1: Slides · Worksheet
Week 2 · Computation of Rates, Python Names 2 Computation of Rates & Data Types Slides Demo Notes Lab 02 · Python Names
Homework 1 · Intro to Python & Jupyter
Discussion 2: Slides · Worksheet
Week 3 · Arrays and Tables 3 Arrays Slides Demo Notes Lab 03 · Print, Arrays, and Tables
Homework 2 · Arrays and Table Fundamentals
Discussion 3: Slides · Worksheet
4 Tables Slides Demo Notes
Week 4 · Variables 5 Variables Slides — Notes Lab 04 · SF Food Safety (PDF)
Discussion 4 · Quiz 1 Review
6 Variables II Slides — Notes
Week 5 · Quiz, Visualizations 7 Visualizations Slides Demo Notes Quiz 1 · Rates, Variables, and Tables
Lab 05 · Visualization
Discussion 5: Worksheet
Week 6 · Distributions and Spread 8 Histograms Slides Demo Notes Lab 06 · Histograms and Summary Statistics
Homework 3 · Data Visualization
Discussion 6: Worksheet
9 Summary Statistics Slides Demo Notes
Week 7 · Advanced Table Methods I 10 Boolean Predicates Slides Demo Notes Project 1 · Education, Admissions, and Simpson's Paradox
Lab 7 · Quiz 2 Review Session (in class)
Discussion 7: Worksheet
11 Grouping Slides Demo Notes
Week 8 · Advanced Table Methods II 12 Pivots and Joins Slides Demo Notes Quiz 2 · Visualizations and Distributions
Lab 08 · Grouping, Pivoting and Joining
Discussion 8: Worksheet
Week 9 · Functions and Control 1 13 Functions Slides Demo Notes Lab 09 · Functions and Conditionals
Homework 4 · Functions and Conditionals
Discussion 9: Worksheet
14 Conditionals Slides Demo Notes
Week 10 · Functions and Control 2 15 Iteration Slides Demo Notes Lab 10 · Iterations
Homework 5 · Functions, Algorithms, and Measurements
Discussion 10: Worksheet
16 Measurements Slides Demo Notes
Week 11 · Measurements and Algorithms 17 Dictionaries Slides Demo Notes Lab 11 · Dictionaries
Discussion 11 · Quiz 3 Review (Python Tutor)
18 HTML Slides Demo Notes
Week 12 · Quiz, Files, and Dictionaries — Quiz week — — — Quiz 3 · Functions and Control
Project 2 · Wikipedia and Genius
Lab 12 · BeautifulSoup
Week 13 · Computational Social Science 19 CSS Slides — Notes Lab 13 · APIs, Prompt Engineering
Discussion 13 · Impact of LLMs
20 Web Coding Slides — Notes
Week 14 · LLMs and Conclusion 21 Generative AI Slides — Notes Lab 14 · Final Project Working Time (in class)
Final Project Part A: Coding · Written
Final Project Part B: Coding · Written
Discussion 14: Worksheet
22 Conclusion Slides — —