OpenHumans / quantified-flu

Can wearables warn us when we're getting sick? A community citsci project – open source & open data!
https://quantifiedflu.org
MIT License
25 stars 4 forks source link

Graphs: Currently no loess fit #2

Open gedankenstuecke opened 4 years ago

gedankenstuecke commented 4 years ago

The notebooks I made using ggplot2 in R have a nice loess fit for the data points that helps in visualizing things, see https://exploratory.openhumans.org/notebook/83/

I couldn't figure out how to do this with metricsgraphics or d3. Someone that actually speaks javascript would be needed for that :)

pythonmite commented 4 years ago

Hello, please refer this library hope it helps : https://github.com/jasondavies/science.js. https://stackoverflow.com/questions/9088323/loess-implementation-using-javascript

gedankenstuecke commented 4 years ago

Thanks! Actually, @beaugunderson already made a first pass at creating a stand-alone visualization code at: https://github.com/beaugunderson/loess

It would just need someone to implement it in this repo :)

pythonmite commented 4 years ago

I will try to get this done as well.

gedankenstuecke commented 4 years ago

Amazing, thanks! 🙏