The first part of code is code from plotly website and it shows what i would like to make with my own data available.
import plotly.express as px
import pandas as pd
fig= px.bar_polar(df2, r="frequency", theta = "direction",
color = "strength", template = "plotly_dark",
color_discrete_sequence = px.colors.sequential.Plasma_r)
fig.show()
Desired graph:

This is my code so far:
import plotly.express as px
import pandas as pd
df = pd.read_csv (r"Lidar_final_corrected.csv")
print(df)
wind_dir Windspeed
0 227.35 2.12
1 233.41 1.65
2 227.75 1.52
3 217.75 1.71
4 204.64 2.21
... ... ...
3336 222.33 17.89
3337 221.52 17.21
3338 219.37 15.45
3339 217.23 16.09
3340 218.31 16.18
[3341 rows x 2 columns]
fig= px.bar_polar(df,theta = "wind_dir",
color = "wind_dir", template = "plotly_dark",
color_discrete_sequence = px.colors.sequential.Plasma_r)
fig.show()
Current output:

Now if you look closely you can see that it is plotting something, but the colors are not right. I left out the frequency because I only have two columns to work with. Is there a workaround to make this plot work without the frequency?
(PS: the data is data based on time series so every 10min or 1 min a new entry is in there. I deleted the timestamp because I don't think I need it.)