Final Interview: {count: 0, status_id: 4, status: "Final Interview", color: "#ffe599"}
Hired: {count: 2, status_id: 6, status: "Hired", color: "#6aa84f", tag_id: 1}
Interview: {count: 0, status_id: 2, status: "Interview", color: "#ffe599"}
OFFER: {count: 2, status_id: 5, status: "OFFER", color: "#b6d7a8", tag_id: 1}
On hold: {count: 0, status_id: 11, status: "On hold", color: "#ffffff"}
Pre-screen: {count: 0, status_id: 13, status: "Pre-screen", color: "#4a86e8"}
Rejected: {count: 1, status_id: 10, status: "Rejected", color: "#e06666", tag_id: 4}
Review: {count: 1, status_id: 9, status: "Review", color: "#a4c2f4", tag_id: 1}
Test: {count: 2, status_id: 3, status: "Test", color: "#b4a7d6", tag_id: 1}
WR: {count: 1, status_id: 8, status: "WR", color: "#e06666", tag_id: 5}
то початкові дані
1 цикл сумує count ( робить з
3
2
1
6
3
1
2. цикл формує правильний формат данних і перевіряє чи є воно в списку вибраних
3. цикл мав би сумувати проценти, тобто робити з
6
3
1
100%
50%
33,3%
4. формує назву категорії вже з процентами, тобто було "категорія", стало "категорія 50%"