Fun idea and also I didn't know that websites could get access to my accelerometer data. However for me the sample frequency is 50 Hz which is way too low to measure even the lowest string pitch (E2, about 82 Hz).
What would that filter look like?
but I don't think it will work well for this case.
https://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampli...
My 6-string Kiesel Kyber bass would like a word with you while it sounds 41Hz.