Update index.html
Browse files- index.html +64 -60
index.html
CHANGED
|
@@ -424,82 +424,86 @@
|
|
| 424 |
|
| 425 |
<!-- ==================== TAB 6: UNLABELED OPPORTUNITY ==================== -->
|
| 426 |
<div id="tab-opportunity" class="tab-content">
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 432 |
</div>
|
| 433 |
</div>
|
| 434 |
|
| 435 |
-
<div class="card" id="inference-card">
|
| 436 |
<div class="chart-title">Live Model Prediction: Segment Classification</div>
|
| 437 |
<div class="chart-container" style="height: auto; padding: 15px 0;">
|
| 438 |
-
<p style="font-size: 14px; color: var(--text-secondary); margin-bottom:
|
| 439 |
Test the live Hugging Face model (SEG_A vs SEG_BC) with sample HCP data.
|
| 440 |
</p>
|
| 441 |
-
<button id="btn-predict" class="tab-btn active"
|
| 442 |
-
style="width: 100%; text-align: center; justify-content: center;">
|
| 443 |
<i class="fas fa-brain"></i> Run Live Prediction
|
| 444 |
</button>
|
| 445 |
-
<div id="prediction-result"
|
| 446 |
-
style="margin-top: 20px; font-weight: 600; color: var(--pfizer-deep); font-size: 16px; background: var(--bg-active); padding: 10px; border-radius: 8px; display: none;">
|
| 447 |
</div>
|
| 448 |
</div>
|
| 449 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 450 |
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
<
|
| 455 |
-
<div class="tier-desc">Score ≥ 0.60. Highest prescribing + growth signals.</div>
|
| 456 |
-
</div>
|
| 457 |
-
<div class="card tier-card tier-2">
|
| 458 |
-
<div class="tier-value" style="color:var(--accent-amber)">22</div>
|
| 459 |
-
<div class="tier-label">Tier 2 — Validate</div>
|
| 460 |
-
<div class="tier-desc">Score 0.35–0.60. Moderate opportunity, needs validation.</div>
|
| 461 |
-
</div>
|
| 462 |
-
<div class="card tier-card tier-3">
|
| 463 |
-
<div class="tier-value" style="color:var(--text-muted)">568</div>
|
| 464 |
-
<div class="tier-label">Tier 3 — Monitor</div>
|
| 465 |
-
<div class="tier-desc">Score < 0.35. Low activity, monitor for emergence.</div>
|
| 466 |
-
</div>
|
| 467 |
-
</div>
|
| 468 |
-
|
| 469 |
-
<div class="alert-box alert-warning"><i class="fas fa-exclamation-triangle"></i><span><strong>Coverage
|
| 470 |
-
Gap:</strong> 347 of 633 unlabeled HCPs (54.8%) have zero rep visits. Among Tier 1
|
| 471 |
-
(high-opportunity) HCPs, many prescribe actively but have never been contacted by a sales
|
| 472 |
-
representative.</span></div>
|
| 473 |
-
|
| 474 |
-
<div class="grid-2" style="margin-top:24px">
|
| 475 |
-
<div class="card">
|
| 476 |
-
<div class="chart-title">Opportunity Score Distribution (633 Unlabeled HCPs)</div>
|
| 477 |
-
<div class="chart-container" style="height:300px"><canvas id="chart-opp-hist"></canvas></div>
|
| 478 |
-
</div>
|
| 479 |
-
<div class="card">
|
| 480 |
-
<div class="chart-title">Click a red point to identify the HCP below ↓</div>
|
| 481 |
-
<div class="chart-container" style="height:300px"><canvas id="chart-opp-scatter"></canvas></div>
|
| 482 |
-
</div>
|
| 483 |
</div>
|
| 484 |
-
|
| 485 |
-
|
| 486 |
-
|
| 487 |
-
style="margin-top:24px;display:none;border-left:4px solid var(--accent-coral)">
|
| 488 |
-
<div class="section-header" style="margin-bottom:16px">
|
| 489 |
-
<div class="section-icon" style="background:#fef2f2;color:var(--accent-coral)"><i
|
| 490 |
-
class="fas fa-user-md"></i></div>
|
| 491 |
-
<div>
|
| 492 |
-
<div class="section-title" id="hcp-detail-title">HCP Selected</div>
|
| 493 |
-
<div class="section-subtitle">Zero rep visits — high opportunity for outreach</div>
|
| 494 |
-
</div>
|
| 495 |
-
</div>
|
| 496 |
-
<div class="grid-5" id="hcp-detail-grid"></div>
|
| 497 |
-
<div class="alert-box alert-warning" style="margin-top:16px"><i
|
| 498 |
-
class="fas fa-bullhorn"></i><span><strong>Action Required:</strong> This HCP has never been
|
| 499 |
-
visited by a sales representative yet shows significant UC prescribing activity. Recommend
|
| 500 |
-
scheduling an initial detail call.</span></div>
|
| 501 |
</div>
|
| 502 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 503 |
|
| 504 |
<!-- ==================== TAB 7: SPECIALTY MIX ==================== -->
|
| 505 |
<div id="tab-specialty" class="tab-content">
|
|
|
|
| 424 |
|
| 425 |
<!-- ==================== TAB 6: UNLABELED OPPORTUNITY ==================== -->
|
| 426 |
<div id="tab-opportunity" class="tab-content">
|
| 427 |
+
|
| 428 |
+
<div class="section-header">
|
| 429 |
+
<div class="section-icon"><i class="fas fa-crosshairs"></i></div>
|
| 430 |
+
<div>
|
| 431 |
+
<div class="section-title">Unlabeled HCP Opportunity</div>
|
| 432 |
+
<div class="section-subtitle">Prioritizing 633 unclassified HCPs for commercial outreach</div>
|
| 433 |
+
</div>
|
| 434 |
+
</div>
|
| 435 |
+
|
| 436 |
+
<div class="grid-2" style="align-items: start; margin-bottom: 24px;">
|
| 437 |
+
|
| 438 |
+
<div>
|
| 439 |
+
<div class="grid-3" style="margin-bottom: 24px;">
|
| 440 |
+
<div class="card tier-card tier-1">
|
| 441 |
+
<div class="tier-value" style="color:var(--accent-green)">43</div>
|
| 442 |
+
<div class="tier-label">Tier 1 — Immediate</div>
|
| 443 |
+
<div class="tier-desc">Score ≥ 0.60. Highest prescribing + growth signals.</div>
|
| 444 |
+
</div>
|
| 445 |
+
<div class="card tier-card tier-2">
|
| 446 |
+
<div class="tier-value" style="color:var(--accent-amber)">22</div>
|
| 447 |
+
<div class="tier-label">Tier 2 — Validate</div>
|
| 448 |
+
<div class="tier-desc">Score 0.35–0.60. Moderate opportunity, needs validation.</div>
|
| 449 |
+
</div>
|
| 450 |
+
<div class="card tier-card tier-3">
|
| 451 |
+
<div class="tier-value" style="color:var(--text-muted)">568</div>
|
| 452 |
+
<div class="tier-label">Tier 3 — Monitor</div>
|
| 453 |
+
<div class="tier-desc">Score < 0.35. Low activity, monitor for emergence.</div>
|
| 454 |
+
</div>
|
| 455 |
+
</div>
|
| 456 |
+
|
| 457 |
+
<div class="alert-box alert-warning">
|
| 458 |
+
<i class="fas fa-exclamation-triangle"></i>
|
| 459 |
+
<span><strong>Coverage Gap:</strong> 347 of 633 unlabeled HCPs (54.8%) have zero rep visits. Among Tier 1 (high-opportunity) HCPs, many prescribe actively but have never been contacted by a sales representative.</span>
|
| 460 |
</div>
|
| 461 |
</div>
|
| 462 |
|
| 463 |
+
<div class="card" id="inference-card" style="height: 100%;">
|
| 464 |
<div class="chart-title">Live Model Prediction: Segment Classification</div>
|
| 465 |
<div class="chart-container" style="height: auto; padding: 15px 0;">
|
| 466 |
+
<p style="font-size: 14px; color: var(--text-secondary); margin-bottom: 25px;">
|
| 467 |
Test the live Hugging Face model (SEG_A vs SEG_BC) with sample HCP data.
|
| 468 |
</p>
|
| 469 |
+
<button id="btn-predict" class="tab-btn active" style="width: 100%; justify-content: center; border-radius: 8px; padding: 12px;">
|
|
|
|
| 470 |
<i class="fas fa-brain"></i> Run Live Prediction
|
| 471 |
</button>
|
| 472 |
+
<div id="prediction-result" style="margin-top: 20px; font-weight: 600; color: var(--pfizer-deep); font-size: 16px; background: var(--bg-active); padding: 12px; border-radius: 8px; display: none;">
|
|
|
|
| 473 |
</div>
|
| 474 |
</div>
|
| 475 |
</div>
|
| 476 |
+
|
| 477 |
+
</div> <div class="grid-2" style="margin-top:24px">
|
| 478 |
+
<div class="card">
|
| 479 |
+
<div class="chart-title">Opportunity Score Distribution (633 Unlabeled HCPs)</div>
|
| 480 |
+
<div class="chart-container" style="height:300px"><canvas id="chart-opp-hist"></canvas></div>
|
| 481 |
+
</div>
|
| 482 |
+
<div class="card">
|
| 483 |
+
<div class="chart-title">Click a red point to identify the HCP below ↓</div>
|
| 484 |
+
<div class="chart-container" style="height:300px"><canvas id="chart-opp-scatter"></canvas></div>
|
| 485 |
+
</div>
|
| 486 |
+
</div>
|
| 487 |
|
| 488 |
+
<div id="hcp-detail-panel" class="card" style="margin-top:24px;display:none;border-left:4px solid var(--accent-coral)">
|
| 489 |
+
<div class="section-header" style="margin-bottom:16px">
|
| 490 |
+
<div class="section-icon" style="background:#fef2f2;color:var(--accent-coral)">
|
| 491 |
+
<i class="fas fa-user-md"></i>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 492 |
</div>
|
| 493 |
+
<div>
|
| 494 |
+
<div class="section-title" id="hcp-detail-title">HCP Selected</div>
|
| 495 |
+
<div class="section-subtitle">Zero rep visits — high opportunity for outreach</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 496 |
</div>
|
| 497 |
</div>
|
| 498 |
+
<div class="grid-5" id="hcp-detail-grid"></div>
|
| 499 |
+
<div class="alert-box alert-warning" style="margin-top:16px">
|
| 500 |
+
<i class="fas fa-bullhorn"></i>
|
| 501 |
+
<span><strong>Action Required:</strong> This HCP has never been visited by a sales representative yet shows significant UC prescribing activity. Recommend scheduling an initial detail call.</span>
|
| 502 |
+
</div>
|
| 503 |
+
</div>
|
| 504 |
+
|
| 505 |
+
</div> ```
|
| 506 |
+
|
| 507 |
|
| 508 |
<!-- ==================== TAB 7: SPECIALTY MIX ==================== -->
|
| 509 |
<div id="tab-specialty" class="tab-content">
|