Prompt
Code in html, css, and javascript a self-contained, complete, and embeddable line plot creator for 6th graders learning about measures of center in math class. Provide a number line, and an endlessly draggable dot that can be placed on a number line to represent data points from a data set. Provide a data set with up to 30 data points, change the number line for each data set to match the data present in the set to allow for endless, randomized play. Allow the user to drag dots to points on the number line. Create input boxes for mean, median, mode, range, interquartile range, and mean absolute deviation. Make the dot snap to points on the number line, but stack them vertically as the data set may have multiple instances of data points should occur. Have students plot things like number of siblings, distance traveled from home to school, number of sit-ups done, etc. Provide lots of scenarios so the game won't be repetitive. Make some data distributions regular and some skewed either left or right for variation. Use a navy blue, white, black, and gray theme.