In [3]:
import plotly.graph_objects as go
In [4]:
categories = [
'Data Extraction',
'Data Cleaning',
'Data Wrangling',
'Exploratory Analysis',
'Data Action']
In [18]:
DATA_ANALYSIS = [2, 1, 2, 5, 1]
DATA_SCIENCE = [4, 3, 3, 4, 5]
In [19]:
fig = go.Figure()
fig.add_trace(go.Scatterpolar(
r=DATA_ANALYSIS,
theta=categories,
fill='toself',
name='Data Analysis'
))
fig.add_trace(go.Scatterpolar(
r=DATA_SCIENCE,
theta=categories,
fill='toself',
name='Data Science',
opacity=.5
))
fig.update_layout(
polar=dict(
radialaxis=dict(
visible=True,
range=[0, 5]
)),
showlegend=True
)
fig.show()