Question - How to do dynamic visual data switching based on date filter Selection
I have a scenario..
I have date filter with visit_date..(web data)
I have line chart with visit_date on x axis and pageviews on y axis
So when difference is <=7 days between 2 dates...the line chart should show daily date data
And if diff is >7, then it should weekly data
Eg: If 13th april to 18th april date filter selected...
Then 13th,14th,15th....data in line chart,
If 13th to 27th...then 13th,20th,27th weekwise
How can I achieve it?
u/Kakashi_Hatake28698 — 19 days ago