I want to create a line chart that displays three different views: daily, weekly, and monthly.
Users should be able to switch between these different views, and the data on the graph should change accordingly.
Example -
Could somebody please help me understand how I can achieve this?