I have data look like this.
I want to create line chart that show year_number on x-axis and show kpi_value on y-axis, but there're complex condition that I want to show kpi_value only from max month of each year, if you see on the data in year 2022 there're only 2nd month data recorded so the data point that might show on the line chart should be [(2020, 19), (2021, 44.2), (2022, 44.9)]