How to add missing dates to data

I think its better also, i tried this yesterday, to add the dates on the app after getting the results.

Add missing dates with Javascript but i didn’t complete it to be a runnable example, maybe someone can complete it or fix it/change it, to make it work.