feat(election): candidate voter analysis — Chart.js charts, cross-dimension insights
- New CandidateAnalysisComponent with Chart.js doughnut charts for all demographic/financial/social dimensions (gender, age, area, caste, sub-caste, religion, occupation, share-holding, tenure, loan, education, marital status, monthly income, savings account depth) - Section 4: Multi-Dimension Voter Alignment card showing core base (caste + area cross-match), caste %, area %, and savings engagement - Candidate board: added Analyse button linking to analysis page - Hero header, KPI strip, 4 dashboard sections with hover charts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
960e4e181b
commit
dac169ae15
@@ -81,6 +81,14 @@ const routes: Routes = [
|
||||
(m) => m.ElectionAuditLogComponent
|
||||
),
|
||||
data: { title: 'Election Audit Log' }
|
||||
},
|
||||
{
|
||||
path: ':electionId/candidates/:candidateId/analysis',
|
||||
loadComponent: () =>
|
||||
import('./components/candidate-analysis/candidate-analysis.component').then(
|
||||
(m) => m.CandidateAnalysisComponent
|
||||
),
|
||||
data: { title: 'Candidate Voter Analysis' }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user