Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified 01_materials/slides/04_choosing_the_right_visualization.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion 02_activities/assignments/assignment_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* You should make a commit after each session with that lesson's code and notes. Your PR should have the same number of commits as there are sessions. It is important to make the commits to your branch in a timely manner right after each class.

### Submission Parameters:
* Submission Due Date: `ongoing`
* Submission Due Date: 23:59 - 02/02/2026
* The branch name for your repo should be: `assignment-1`
* What to submit for this assignment:
* The `participation` folder/directory should be populated with the above mentioned .py/.ipynb files along with any written notes or comments (preferably in .md or .txt format).
Expand Down
2 changes: 1 addition & 1 deletion 02_activities/assignments/assignment_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
🚨 **Please review our [Assignment Submission Guide](https://github.com/UofT-DSI/onboarding/blob/main/onboarding_documents/submissions.md)** 🚨 for detailed instructions on how to format, branch, and submit your work. Following these guidelines is crucial for your submissions to be evaluated correctly.
### Submission Parameters:
* Submission Due Date: `23:59 - 10/26/2025`
* Submission Due Date: `23:59 - 01/26/2026`
* The branch name for your repo should be: `assignment-2`
* What to submit for this assignment:
* This markdown file (assignment_2.md) should be populated and should be the only change in your pull request.
Expand Down
2 changes: 1 addition & 1 deletion 02_activities/assignments/assignment_3.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
🚨 **Please review our [Assignment Submission Guide](https://github.com/UofT-DSI/onboarding/blob/main/onboarding_documents/submissions.md)** 🚨 for detailed instructions on how to format, branch, and submit your work. Following these guidelines is crucial for your submissions to be evaluated correctly.

### Submission Parameters:
* Submission Due Date: `23:59 - 11/02/2025`
* Submission Due Date: `23:59 - 02/02/2026`
* The branch name for your repo should be: `assignment-3`
* What to submit for this assignment:
* A folder/directory containing:
Expand Down
17 changes: 14 additions & 3 deletions 03_instructional_team/markdown_slides/01_course_intro.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
marp: true
theme: dsi_certificates_theme
paginate: true
Expand All @@ -12,9 +12,20 @@ $ echo "Data Sciences Institute"

---

# Acknowledgement

We wish to acknowledge this land on which the University of Toronto operates. For thousands of years it has been the traditional land of the Huron-Wendat, the Seneca, and most recently, the Mississaugas of the Credit River. Today, this meeting place is still the home to many Indigenous people from across Turtle Island and we are grateful to have the opportunity to work on this land.

--------


# Welcome!

Introductions and housekeeping

- TF: krystal Wang (she/her) [email protected]
- LS: Tianyi [email protected]
- LS: Anjali Deshpande [email protected]
- LS: Vishakh Patel [email protected]

---

Expand All @@ -24,7 +35,7 @@ Introductions and housekeeping
- Question what makes ‘good’ data visualization
- Introduce a range of software and tools that are used for data visualization

---
-------

# Case Study: Why should we care about data visualization?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ ax.hist(y)
ax.set_title('Total growth over time')
ax.set_ylabel('Total growth')
ax.set_xlabel('Years since start')
fig.tight_layout()
```
---

Expand All @@ -192,6 +193,7 @@ ax.hist(y)
ax.set_title('Total growth over time', fontdict = font1)
ax.set_ylabel('Total growth', fontdict = font2)
ax.set_xlabel('Years since start', fontdict = font2)
fig.tight_layout()
```

----
Expand All @@ -203,7 +205,6 @@ ax.hist(y)
```
fig, ax = plt.subplots(figsize=(5, 3))
ax.plot(x,y)
ax.set_title('Total growth over time', fontdict = font1, loc = 'left')
ax.set_ylabel('Total growth', fontdict = font2)
ax.set_xlabel('Years since start', fontdict = font2)
```
Expand All @@ -220,8 +221,8 @@ ax.hist(y)
```
fig, ax = plt.subplots(figsize=(5, 3))

ax.scatter( x,
y,
ax.scatter(x,
y,
marker='*', # NEW ADDITIONS
color = "indigo") # NEW ADDITIONS

Expand Down Expand Up @@ -271,7 +272,7 @@ ax.plot(x,y,marker='*',
linestyle = '--',
linewidth = 2,
markeredgecolor = '#fa9359', # NEW ADDITIONS
markerfacecolor = '#fa9359' ) # NEW ADDITIONS
markerfacecolor = '#000000' ) # NEW ADDITIONS
```
---

Expand Down Expand Up @@ -325,6 +326,13 @@ ax.plot(x,y,marker='*',

---

# Feedback!




-----

# In the next session, we'll continue with...

- How do we choose the right data visualization for a given situation?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,73 @@ REFERENCES
D’Ignazio, C., & Klein, L. (2020). 3. On Rational, Scientific, Objective Viewpoints from Mythical, Imaginary, Impossible Standpoints. In Data Feminism. MIT Press. https://data-feminism.mitpress.mit.edu/pub/5evfe9yd/release/5
-->

---
-----
# Agenda for today

- Go through slide deck #4: Choosing the right visualization
- Discuss assignment 2

------

# Review - How does matplotlib work?

- A **figure** is like a container that holds a set of **axes**

- The axes is our actual plot or graph

- A figure can hold multiple axes (like subplots)

- Every visual element of our plots – colour, legends, axis titles and scales, text – is called an **artist** and belongs to an axes (not to a figure)

------

# Review - Making a figure with matplotlib

- Create a **Figure** container and one **Axes** (subplot) inside it; store them in fig and ax


```
fig, ax = plt.subplots(figsize=(5, 3))
```

- If we color the `fig` object red and the `ax` object green, we get the following result:

![w:500](./images/fig_axes.png)

-------

# Review - Making a figure with matplotlib

- Make our basic scatterplot:

```
fig, ax = plt.subplots(figsize=(5, 3))
ax.scatter(x,y)
fig.show()

```
![w:450](./images/fig_axes.png)


------

# Review - Example

![w:500](./images/fig_axes2.png)

- Figure = the entire canvas (in red) that contains everything

- Axes = the plotting area inside a figure (the green boxes with x/y ticks where data is drawn).

----

# Assignment Deadlines

- Assignment 2: January 26, 2026, 11:59 PM (Monday)
- Assignments 1 and 3: February 2, 2026, 11:59 PM (Monday)

-----


### - So far, we have learned how to make and modify different types of data visualizations
### - How do we decide which of these types of data visualization to use, and when?
Expand Down