Hi Team,
I have time-series csv data with multiple columns. My goal is to group the data by month, week, or day and draw a multiline graph.
I am using d3.nest to use “time” columns as key and accordingly want to sum other columns using d3.rollup, depending on the week, month, or day.
I am looking for a generic solution rather than calling on each column. As the number of columns is not fixed.
Data:
Output expected:
Just started with js and d3 and loving it. Thanks!