Activity: Set Up the Graph
I'M FINISHED WITH HOUR OF CODE!

STEP 6: Time to set up our graph and add our lists to it as the sources of data.

  • In SUBJECT, go to and drag Scatter Plot to the bottom of your program.
  • Change the name of the first parameter in the scatter plot command from x_data to time_list.
  • Change the name of the second parameter in the scatter plot command from y_data to data_list.
  • Click Run to see an empty scatter plot appear. Then click Submit and Next to move on.

microbit = codesters.Microbit() microbit.show_string("hello") data = microbit.get_temp() microbit.show_number(data) data_list = [] time_list = []
Support