Using Mode in Desmos

Desmos has a native mean and median feature for lists, but not a mode feature. It was something that would be really useful, but many solutions are fairly complicated using summation equations to determine the value that occurs most often. So, I made my own. If it’s useful feel free to use it.

Nice. You’ve got a few spots you could clean it up by using the list variables you made (edits made). If you didn’t worry about trimming and sorting initially, you can reduce the number of lines by pushing that to the end (new folder).

1 Like

Nice! I realized it could be shortened, but I like how having everthing as variables explains the process for anyone trying to understand, even if it adds a few lines.