Skip to content
Your progress

Checking your sign-in…

Who's learning?

Each profile keeps its own read lessons, badges, streak, and practice scores on this device.

Computing & AI Class 9

Data Handling I: Organizing & Visualizing Data

Put a week's data in a list. Total it, average it, chart it in code.

11 lessons · ~62 min total

Track progress — 0 of 11 lessons read 0%

Lessons in this topic

  1. 0 Start here Put a week of data in a list. Add it, average it, count it, chart it in code. · 3 min You are here
  2. 1 One list holds the whole week One list holds a whole week of readings. Ask .length for the count. · 6 min
  3. 2 Every item has a position Positions start at 0. In this editor, asking past the end stops the run. · 6 min
  4. 3 A list the program builds itself .push() adds a value to the end. Where you make the empty list matters. · 6 min
  5. 4 One box outside the loop One box outside the loop and one line inside it turn a list into a total. · 6 min
  6. 5 Total divided by count The mean is the total divided by the count. One function works on any list. · 6 min
  7. 6 The biggest, without sorting Walk the list once and keep the best so far. Nothing is sorted. · 6 min
  8. 7 One count per group A tally is a list of counts, one per group. An empty group still gets a row. · 6 min
  9. 8 The chart the program drew A chart is drawn from the printed counts. Change the data and the picture follows. · 6 min
  10. 9 The big picture Eight ideas, one list, one loop. Every number came out of it. · 3 min
  11. 10 Track quiz A cheat-sheet table and a short quiz on the eight ideas. · 8 min