zavavan commited on
Commit
0f3621a
·
verified ·
1 Parent(s): 33baf3c

Update dashboard.py

Browse files
Files changed (1) hide show
  1. dashboard.py +8 -5
dashboard.py CHANGED
@@ -154,10 +154,13 @@ The causal relations represented in the KG are defined by the **MIMICause** sche
154
 
155
  ---------------------------
156
 
157
- ## 1. Top Key Entities
158
- The Top Key Entities plots track the occurrence of several key entities per year, where occurrence means the entity is either the Subject or Object of an extracted triple in the KG.
159
 
160
- ## 2. Entity Chord Diagrams
 
 
 
161
  Entity Chord Diagrams represent the most frequently connected entity pairs within the KG through chord illustrations, serving as both Subjects and Objects of predicative triples.
162
  The size of the chords corresponds to the support of the depicted relations.
163
  """, width=800), align="center")
@@ -200,13 +203,13 @@ main_area = pn.Column(mapping["Page1"], styles={"width":"100%"})
200
 
201
  ###################### APP LAYOUT ##############################
202
  template = pn.template.BootstrapTemplate(
203
- title=" Digital Health in the News: Analytics Dashboard ",
204
  sidebar=[sidebar],
205
  main=[main_area],
206
  header_background="black",
207
  #site="Charting the Landscape of Digital Health",
208
  theme=pn.template.DarkTheme,
209
- sidebar_width=250, ## Default is 330
210
  busy_indicator=pn.indicators.BooleanStatus(value=True),
211
  )
212
 
 
154
 
155
  ---------------------------
156
 
157
+ ## 1. Entities/Relation Types
158
+ Bar plots of the Entity and Relation type counts.
159
 
160
+ ## 2. Top Key Entities
161
+ Bar plots representing the occurence counts of the top 30 Entities in the KG, where occurrence means the entity is either the Subject or Object of an extracted triple in the KG.
162
+
163
+ ## 3. Entity Chord Diagrams
164
  Entity Chord Diagrams represent the most frequently connected entity pairs within the KG through chord illustrations, serving as both Subjects and Objects of predicative triples.
165
  The size of the chords corresponds to the support of the depicted relations.
166
  """, width=800), align="center")
 
203
 
204
  ###################### APP LAYOUT ##############################
205
  template = pn.template.BootstrapTemplate(
206
+ title=" CausalDrugsKG_Dashboard ",
207
  sidebar=[sidebar],
208
  main=[main_area],
209
  header_background="black",
210
  #site="Charting the Landscape of Digital Health",
211
  theme=pn.template.DarkTheme,
212
+ sidebar_width=270, ## Default is 330
213
  busy_indicator=pn.indicators.BooleanStatus(value=True),
214
  )
215