CPSC150A
Scientific Computing

Activity 19

Project Scatter Plot

Scatter Plot

Create a Python program that displays a scatter plot of two columns. For each row in a dataset the program should:

  1. get two values, x and y, from the spreadsheet (one value from each column being plotted)
  2. normalize both values
  3. scale both values to the plotting range (use the width of the plot for x values and height for y values)
  4. draw a circle at the scaled location

Challenge

Add axes to the the plot.

  1. Draw lines for both the x and y axes
  2. Label the axes with the column names
  3. Draw tick marks on both the x and y axes
  4. Label the tick marks with their value