Creating a collective dot plot with data entered by students

I was sent something by the Desmos team that is a good start, but I would need to change the grphe to match the data that my students will collect. I made a copy and looked the function behind the first slide, but didn’t know which ones to change to customize it.

https://teacher.desmos.com/activitybuilder/custom/5f4188a1c422b62e2bccd556#preview/6ba5b7dc-6759-4c34-b4cc-2bca3fa00eb2

Are you referring to the graph on Screen 2? The aggregate functions defining the numberLists A_1 - A_5 are collecting each of the 5 values students enter into the table on Screen 1, so unless I’m missing something, I don’t think you need to change anything.

To clarify, aggregate collects a single numeric value from each student and creates a numberList for the class, so there is one numberList for each of the 5 numbers entered.

Sorry for not being more clear.

I want my students to enter means and proportions create from a random sample. These are the x-axis I need for the data sets:

One that goes from 0 to 1 with a scale of .1. And another one from 2.2 and 4.2 with a scale of .2.

Is it possible to adjust the graph to display data sets like this?

Ah! The bounds are dynamically changing here (similar in screen 2):


…where the bounds are being pulled from those calculated values in each graph. First, delete those values from the graph (i.e. m_{in}, m_{ax}, and C_M) and remove the bounds lines in the CL. Then, set the Viewport bounds in your graph. This is necessary to set your desired scales (Step). I’d also uncheck “Minor Gridlines”

You can also set the bounds in the CL if you want to make sure you don’t accidentally adjust them in the graph zooming or dragging:

bounds: makeBounds(0, 1, 2.2, 4.2)