-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.py
More file actions
40 lines (34 loc) · 1.01 KB
/
app.py
File metadata and controls
40 lines (34 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import dash
import dash_core_components as dcc
import dash_html_components as html
app = dash.Dash()
app.layout = html.Div(children=[
html.H1(children='Hello Support Team Manager:'),
html.Div(children='''
Here is an overview of your team's performance.
'''),
dcc.Graph(
id='example-graph',
figure={
'data': [
{'x': ['James', 'Thomas', 'Willy','Aron','Wilfred','Adam'], 'y': [4, 1, 2,3, 4, 5, 7], 'type': 'bar', 'name': 'SF'},
],
'layout': {
'title': 'Support Team Members Calls Taken YTD'
}
}
),
dcc.Graph(
id='example-graph2',
figure={
'data': [
{'x': ['Production System','Training System'],'y': [10,40],'type':'bar','name':'WA'},
],
'layout': {
'title':'Overview of Production vs Training System reported issues'
}
}
)
])
if __name__ == '__main__':
app.run_server(debug=True)