Skip to article frontmatterSkip to article content

Homework 4 - Making plots

10 total points

Directions

  • Due: 11/21/2025 @ 11:59 p.m.

  • Change the name of your notebook to HW4_FirstLast.ipynb, where First is your first name and Last is your last name.

  • For each of the following prompts, write or modify Python code that fulfills the requirements.

Important information to remember

  • Periodically, you should click File -> Save Notebook

  • When you are done working for the day, click File -> Log Out

  • When you are finished, download the notebook and upload it to the submission link

  • I will reset the notebook and run each code block on its own. You will receive half credit if you rely on a variable from a previous or subsequent code block.

Task 1 (1 points)

Find 3 different plots online that could be used for your semester project.

  1. A line graph

  2. A bar graph

  3. A scatterplot graph

Include each example in the notebook using the following markdown code:

![image_name](https://www.link_to_image.com/image.jpg)

You can see an example of this in Chapter 5.2 if you upload the chapter and double click on the image that shows the climograph plot. The image must be visible (no “broken links”). You must use an example that was not included in the slideshows or online textbook chapter.

Replace the images below with your own examples

Example of a line graph:

line graph

Example of a bar graph:

line graph

Example of a scatterplot graph:

line graph

Task 2 (3 points)

Code that creates a graph like your line graph example:

Task 3 (3 points)

Code that creates a graph like your bar graph example:

Task 4 (3 points)

Code that creates a graph like your scatterplot graph example: