Jay1121 commited on
Commit
0eeade5
·
verified ·
1 Parent(s): 3ed5c7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +50 -41
app.py CHANGED
@@ -2492,58 +2492,67 @@ app.layout = html.Div(
2492
  },
2493
  ),
2494
 
2495
- # Row 2: 스테이지 리프트 + 포레스트 + 버블
 
 
2496
  html.Div(
2497
  [
2498
  html.Div(
2499
  [
2500
- html.Div(
2501
- [
2502
- html.Span("Stage", style={"fontSize":"12px","color":"#666","marginRight":"8px"}),
2503
- dcc.Dropdown(
2504
- id="dd-stage-rank",
2505
- options=[{"label": v, "value": v} for v in ["선호","추천","구매의향","구매"]],
2506
- value="구매", clearable=False,
2507
- style={"width":"140px","fontSize":"12px"},
2508
- ),
2509
- ],
2510
- style={"display":"flex","justifyContent":"flex-end","alignItems":"center","marginBottom":"6px"},
2511
  ),
2512
- dcc.Graph(
2513
- id="fig-stage-rank",
2514
- config=GRAPH_CONFIG | {"responsive": True},
2515
- style={"height": GRAPH_H, "width": "100%"}
 
 
2516
  ),
2517
  ],
2518
- style={**CARD_STYLE, "height": CARD_H, "overflow":"hidden"},
 
 
 
 
 
2519
  ),
2520
-
2521
- html.Div(
2522
- dcc.Graph(
2523
- id="fig-forest",
2524
- config=GRAPH_CONFIG | {"responsive": True},
2525
- style={"height": GRAPH_H, "width": "100%"}
2526
- ),
2527
- style={**CARD_STYLE, "height": CARD_H, "overflow":"hidden"}
2528
- ),
2529
-
2530
- html.Div(
2531
- dcc.Graph(
2532
- id="fig-bubble",
2533
- config=GRAPH_CONFIG | {"responsive": True},
2534
- style={"height": GRAPH_H, "width": "100%"}
2535
- ),
2536
- style={**CARD_STYLE, "height": CARD_H, "overflow":"hidden"}
2537
  ),
2538
  ],
2539
- style={
2540
- "display":"grid",
2541
- "gridTemplateColumns": ROW2_COLS,
2542
- "gap": ROW_GAP,
2543
- "padding": PAGE_PAD,
2544
- "marginTop":"4px"
2545
- },
 
 
 
 
 
 
 
 
 
 
 
 
2546
  ),
 
 
 
 
 
 
 
 
 
2547
 
2548
  # 숨김 그래프
2549
  html.Div(
 
2492
  },
2493
  ),
2494
 
2495
+ # Row 2: 스테이지 리프트 + 포레스트 + 버블
2496
+ html.Div(
2497
+ [
2498
  html.Div(
2499
  [
2500
  html.Div(
2501
  [
2502
+ html.Span(
2503
+ "Stage",
2504
+ style={"fontSize": "12px", "color": "#666", "marginRight": "8px"},
 
 
 
 
 
 
 
 
2505
  ),
2506
+ dcc.Dropdown(
2507
+ id="dd-stage-rank",
2508
+ options=[{"label": v, "value": v} for v in ["선호", "추천", "구매의향", "구매"]],
2509
+ value="구매",
2510
+ clearable=False,
2511
+ style={"width": "140px", "fontSize": "12px"},
2512
  ),
2513
  ],
2514
+ style={
2515
+ "display": "flex",
2516
+ "justifyContent": "flex-end",
2517
+ "alignItems": "center",
2518
+ "marginBottom": "6px",
2519
+ },
2520
  ),
2521
+ dcc.Graph(
2522
+ id="fig-stage-rank",
2523
+ config=GRAPH_CONFIG | {"responsive": True},
2524
+ style={"height": GRAPH_H, "width": "100%"},
 
 
 
 
 
 
 
 
 
 
 
 
 
2525
  ),
2526
  ],
2527
+ style={**CARD_STYLE, "height": CARD_H, "overflow": "hidden"},
2528
+ ),
2529
+
2530
+ html.Div(
2531
+ dcc.Graph(
2532
+ id="fig-forest",
2533
+ config=GRAPH_CONFIG | {"responsive": True},
2534
+ style={"height": GRAPH_H, "width": "100%"},
2535
+ ),
2536
+ style={**CARD_STYLE, "height": CARD_H, "overflow": "hidden"},
2537
+ ),
2538
+
2539
+ html.Div(
2540
+ dcc.Graph(
2541
+ id="fig-bubble",
2542
+ config=GRAPH_CONFIG | {"responsive": True},
2543
+ style={"height": GRAPH_H, "width": "100%"},
2544
+ ),
2545
+ style={**CARD_STYLE, "height": CARD_H, "overflow": "hidden"},
2546
  ),
2547
+ ],
2548
+ style={
2549
+ "display": "grid",
2550
+ "gridTemplateColumns": ROW2_COLS,
2551
+ "gap": ROW_GAP,
2552
+ "padding": PAGE_PAD,
2553
+ "marginTop": "4px",
2554
+ },
2555
+ )
2556
 
2557
  # 숨김 그래프
2558
  html.Div(