Add a smooth function and a button to smooth the data. To smooth the data, calculate the average of each point and the two adjacent data points.
Add a method and a button that removes all data points below the lower marker and all data points above the upper marker. This way, you can add some kind of zoom functionality.
Add a time limit for the recording of data. The user should only be allowed to collect acceleration data for a few seconds because the data is drawn several times per second.
(Difficult) Try to add a method that can analyze the data to find the period without the user changing the markers.
52.14.253.170