How do I change the style of the inner part enclosed by the lines(polar) chart created with highcharts?

Viewed 33

Space within the yellow lines I would also like to fill it up with yellow color: chart image

2 Answers

Radar charts in Python with Plotly

For a filled line in a Radar Chart, update the figure created with px.line_polar with fig.update_traces

import plotly.express as px
import pandas as pd
df = pd.DataFrame(dict(
    r=[5, 4, 3, 1, 3],
    theta=['Social','Tech','Environmental',
           'Economical', 'Cultural']))
fig = px.line_polar(df, r='r', theta='theta', line_close=True)
fig.update_traces(fill='toself')
fig.show()

Output image

Related