Display aggregate student "vote"

Hey all–I’m making an activity that asks students to judge whether a certain behavior constitutes plagiarism or not. After students vote, I’d love to show a display of how everyone voted, but am having some trouble with aggregate().

On slide 7, I’d love to have a be some number that’s the ratio of (class votes for “All good”)/(class votes for “Plagiarism”) on Slide 6, normalized so a goes between 0 and 10. How could I go about making that happen?

Thank you so much in advance for the help :slight_smile:

I think this should work. Aggregate only collects numeric values, so I made a variable on slide 6 that assigns a number based on the vote.

Thank you so much! This seems to work perfectly.