I am using d3 to load some comma-separated data files, which when I output them in the console using
console.log(data_file_23);
console.log(data_file_57);
they look like this
0: Object { date: "2021-07-01 00:20", num: "1" }
1: Object { date: "2021-07-02 04:01", num: "3" }
1: Object { date: "2021-07-02 20:21", num: "3" }
2: Object { date: "2021-07-03 03:22", num: "10" }
0: Object { date: "2021-07-01 00:01", num: "2" }
1: Object { date: "2021-07-02 09:10", num: "4" }
2: Object { date: "2021-07-03 13:22", num: "10" }
How could I combine them an combining the dates, so I can output on my page using
document.getElementById('data_file_result').innerHTML
the following
Date 2021-09-21 equals 3
Date 2021-09-22 equals 10
Date 2021-09-23 equals 20
The min was on date 2021-07-01 value 3
The max was on date 2021-07-03 value 20
Today (2021-09-23) was value 20
Any help would be highly appreciated
Thank you for any help