Line Graph color change based upon the string value from other column in CSV

Hi Everyone,

From few days I’m trying to figure out how to change the color of line based upon the other column string in CSV.
I have graph like below:

In this i would like to change the color of each peek based upon the string in other column like below:
excelScreenshot 2023-05-15 101901
As per above the graph is drawn based upon the 2nd Column and i want the color to be changed based upon the 1st Column.

Below is the sample that i want to achieve in grafana.

Thanks

Welcome

Please check this fhread out

https://community.grafana.com/t/how-to-give-color-to-each-sub-category-bar-in-bar-chart/87411

Thanks for your response.

Is this also possible with the time sheet graph.

I required to be used that.