{"id":735,"date":"2025-09-30T14:39:43","date_gmt":"2025-09-30T18:39:43","guid":{"rendered":"https:\/\/www.pbump.net\/o\/?p=735"},"modified":"2025-09-30T22:15:13","modified_gmt":"2025-10-01T02:15:13","slug":"digging-deep-on-the-2024-electorate","status":"publish","type":"post","link":"https:\/\/www.pbump.net\/o\/digging-deep-on-the-2024-electorate\/","title":{"rendered":"Digging deep on the presidential electorate"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/catalog.archives.gov\/id\/35300054\"><img loading=\"lazy\" decoding=\"async\" width=\"1581\" height=\"1079\" src=\"https:\/\/www.pbump.net\/o\/wp-content\/uploads\/2025\/09\/37-whpo-d0120-19-a.jpg\" alt=\"\" class=\"wp-image-736\" srcset=\"https:\/\/www.pbump.net\/o\/wp-content\/uploads\/2025\/09\/37-whpo-d0120-19-a.jpg 1581w, https:\/\/www.pbump.net\/o\/wp-content\/uploads\/2025\/09\/37-whpo-d0120-19-a-300x205.jpg 300w, https:\/\/www.pbump.net\/o\/wp-content\/uploads\/2025\/09\/37-whpo-d0120-19-a-768x524.jpg 768w, https:\/\/www.pbump.net\/o\/wp-content\/uploads\/2025\/09\/37-whpo-d0120-19-a-1536x1048.jpg 1536w\" sizes=\"auto, (max-width: 1581px) 100vw, 1581px\" \/><\/a><\/figure>\n\n\n\n<script>\n<!--\n\/\/ meta, group, 24 margin, 20 margin, 16 margin, 24 all, 24 dem, 24 rep, 20 all, 20 dem, 20 rep, 16 all, 16 dem, 16 rep\nconst votedata = [\n[ 'Gender', 'Men', 12, 2, 11, 49, 44, 54, 48, 44, 51, 45, 39, 53 ],\n[ 'Gender', 'Women', -7, -11, -15, 50, 55, 46, 51, 55, 48, 55, 61, 47 ],\n[ 'Race and ethnicity', 'White', 12, 12, 15, 71, 64, 78, 73, 61, 86, 74, 60, 88 ],\n[ 'Race and ethnicity', 'Black', -68, -84, -85, 10, 16, 3, 11, 19, 2, 10, 19, 1 ],\n[ 'Race and ethnicity', 'Hispanic', -3, -25, -38, 10, 11, 10, 10, 11, 7, 10, 14, 6 ],\n[ 'Race and ethnicity', 'Asian', -17, -40, null, 4, 5, 3, 4, 5, 3, 2, 3, 1 ],\n[ 'Race and ethnicity', 'Other race', 13, -16, null, 4, 4, 4, 2, 2, 2, 3, 4, 2 ],\n[ 'Gender and race', 'White men', 20, 17, 30, 35, 28, 42, 35, 27, 43, 33, 22, 46 ],\n[ 'Gender and race', 'White women', 4, 8, 2, 35, 35, 36, 37, 33, 42, 41, 38, 42 ],\n[ 'Gender and race', 'Black men', -54, -75, null, 4, 6, 2, 4, 7, 1, 4, 7, 1 ],\n[ 'Gender and race', 'Black women', -79, -90, null, 5, 10, 1, 6, 12, 1, 6, 13, 0 ],\n[ 'Gender and race', 'Hispanic men', 2, -18, null, 5, 5, 5, 5, 5, 4, 5, 6, 3 ],\n[ 'Gender and race', 'Hispanic women', -6, -32, null, 5, 5, 5, 5, 6, 3, 5, 7, 3 ],\n[ 'Gender and race', 'Asian men', -16, null, null, 2, 2, 1, 2, 3, 2, 1, 2, 1 ],\n[ 'Gender and race', 'Asian women', -17, null, null, 2, 2, 2, 2, 2, 1, 1, 1, 0 ],\n[ 'Party ID', 'Republican', 91, 90, 88, 34, 3, 65, 34, 3, 70, 31, 3, 64 ],\n[ 'Party ID', 'Democrat', -91, -91, -89, 32, 64, 3, 36, 67, 3, 35, 68, 4 ],\n[ 'Party ID', 'Independent\/Other', 0, -9, 1, 33, 33, 32, 29, 30, 27, 34, 29, 32 ],\n[ 'Party ID', 'Lean Rep', 79, 76, 77, 17, 3, 29, 13, 2, 24, 16, 2, 29 ],\n[ 'Party ID', 'Lean Dem', -85, -86, -74, 16, 29, 2, 14, 25, 1, 17, 27, 2 ],\n[ 'Party\/lean', 'Rep\/Lean Rep', 86, 87, 85, 51, 6, 94, 47, 6, 94, 48, 4, 94 ],\n[ 'Party\/lean', 'Dem\/Lean Dem', -89, -90, -84, 48, 93, 4, 50, 92, 4, 51, 95, 6 ],\n[ 'Party\/lean and ideology', 'Conserv Rep\/Lean Rep', 95, 95, 91, 36, 2, 69, 33, 1, 69, 30, 2, 62 ],\n[ 'Party\/lean and ideology', 'Mod\/Lib Rep\/Lean Rep', 68, 65, 71, 15, 4, 24, 13, 4, 23, 17, 3, 31 ],\n[ 'Party\/lean and ideology', 'Conserv\/Mod Dem\/Lean Dem', -82, -84, -77, 23, 43, 4, 24, 42, 3, 27, 47, 5 ],\n[ 'Party\/lean and ideology', 'Lib Dem\/Lean Dem', -97, -96, -92, 24, 49, 1, 26, 49, 1, 25, 48, 1 ],\n[ 'Marital status', 'Married', 11, 8, 16, 58, 52, 64, 56, 49, 65, 52, 43, 63 ],\n[ 'Marital status', 'Not married', -12, -22, -24, 42, 48, 36, 43, 50, 35, 48, 57, 36 ],\n[ 'Gender and marital status', 'Men, married', 18, 10, 30, 29, 25, 34, 29, 24, 33, 27, 18, 36 ],\n[ 'Gender and marital status', 'Men, not married', 3, -11, -15, 19, 19, 19, 19, 20, 17, 19, 21, 17 ],\n[ 'Gender and marital status', 'Women, married', 5, 7, 1, 28, 27, 29, 28, 25, 31, 26, 25, 27 ],\n[ 'Gender and marital status', 'Women, not married', -22, -30, -29, 22, 27, 17, 24, 30, 17, 29, 36, 20 ],\n[ 'Age (four-way)', '18-29', -19, -26, -30, 15, 18, 11, 14, 17, 11, 13, 16, 8 ],\n[ 'Age (four-way)', '30-49', -2, -12, -11, 29, 30, 28, 30, 32, 27, 30, 32, 27 ],\n[ 'Age (four-way)', '50-64', 14, 7, 6, 27, 24, 31, 28, 25, 31, 29, 27, 33 ],\n[ 'Age (four-way)', '65+', 3, 4, 9, 28, 28, 29, 28, 26, 31, 27, 25, 32 ],\n[ 'Age (six-way)', '18-24', -26, -31, null, 6, 7, 4, 9, 10, 6, 6, 7, 4 ],\n[ 'Age (six-way)', '25-29', -16, -20, -33, 9, 10, 7, 6, 7, 5, 7, 9, 4 ],\n[ 'Age (six-way)', '30-39', 2, -15, -15, 14, 14, 15, 15, 16, 13, 16, 18, 13 ],\n[ 'Age (six-way)', '40-49', -5, -8, -7, 15, 16, 14, 15, 15, 14, 14, 15, 14 ],\n[ 'Age (six-way)', '50-64', 14, 7, 6, 27, 24, 31, 28, 25, 31, 29, 27, 33 ],\n[ 'Age (six-way)', '65+', 3, 4, 9, 28, 28, 29, 28, 26, 31, 27, 25, 32 ],\n[ 'Age (four-way alt)', '18-29', -19, -26, -30, 15, 18, 11, 14, 17, 11, 13, 16, 8 ],\n[ 'Age (four-way alt)', '30-44', 3, -13, -10, 22, 21, 22, 22, 24, 20, 24, 25, 21 ],\n[ 'Age (four-way alt)', '45-64', 8, 3, 2, 35, 33, 37, 35, 33, 39, 35, 34, 38 ],\n[ 'Age (four-way alt)', '65+', 3, 4, 9, 28, 28, 29, 28, 26, 31, 27, 25, 32 ],\n[ 'Age (two-way)', '18-49', -7, -17, -17, 44, 48, 40, 44, 49, 38, 44, 48, 35 ],\n[ 'Age (two-way)', '50+', 9, 5, 8, 56, 52, 60, 55, 51, 62, 56, 52, 65 ],\n[ 'Community type (self-reported)', 'Urban', -32, -34, -46, 20, 28, 13, 22, 28, 15, 22, 32, 12 ],\n[ 'Community type (self-reported)', 'Suburban', -4, -10, 2, 52, 56, 49, 52, 55, 49, 50, 48, 53 ],\n[ 'Community type (self-reported)', 'Rural', 40, 31, 25, 26, 16, 36, 26, 17, 36, 27, 19, 35 ],\n[ 'Community type among White voters', 'Urban, White', -23, -20, -22, 15, 21, 10, 16, 22, 12, 17, 26, 12 ],\n[ 'Community type among White voters', 'Suburban, White', 2, 4, 16, 53, 59, 49, 53, 58, 49, 52, 50, 52 ],\n[ 'Community type among White voters', 'Rural, White', 44, 43, 32, 30, 19, 39, 31, 20, 39, 30, 23, 36 ],\n[ 'Community type by gender', 'Urban men', -23, -24, null, 10, 13, 8, 11, 13, 9, 9, 12, 6 ],\n[ 'Community type by gender', 'Suburban men', 5, -4, 15, 26, 25, 27, 25, 25, 25, 25, 20, 30 ],\n[ 'Community type by gender', 'Rural men', 53, 41, null, 12, 6, 19, 12, 6, 17, 11, 7, 17 ],\n[ 'Community type by gender', 'Urban women', -41, -43, -55, 10, 14, 6, 11, 15, 6, 13, 20, 6 ],\n[ 'Community type by gender', 'Suburban women', -13, -15, -11, 26, 29, 22, 26, 29, 23, 26, 28, 23 ],\n[ 'Community type by gender', 'Rural women', 28, 23, 16, 14, 10, 17, 14, 11, 19, 16, 12, 18 ],\n[ 'Religious affiliation', 'Protestant', 26, 19, 17, 43, 32, 54, 46, 35, 58, 47, 38, 58 ],\n[ 'Religious affiliation', 'Catholic', 12, -1, 8, 20, 18, 22, 20, 20, 21, 20, 18, 23 ],\n[ 'Religious affiliation', 'Religiously unaffiliated', -42, -45, -41, 27, 39, 15, 25, 35, 14, 26, 35, 14 ],\n[ 'Religious affiliation', 'Other faith', -12, -28, -28, 9, 10, 8, 8, 10, 6, 8, 10, 6 ],\n[ 'Religious tradition', 'White evangelical Protestant', 65, 68, 61, 18, 6, 29, 19, 6, 34, 20, 7, 34 ],\n[ 'Religious tradition', 'White nonevangelical Protestant', 17, 14, 20, 13, 11, 15, 14, 12, 17, 15, 11, 19 ],\n[ 'Religious tradition', 'Black Protestant', -68, -82, null, 7, 12, 2, 8, 14, 2, 7, 14, 0 ],\n[ 'Religious tradition', 'Other race Protestant', 41, 13, null, 6, 4, 9, 5, 4, 5, 5, 5, 5 ],\n[ 'Religious tradition', 'White non-Hispanic Catholic', 25, 15, 33, 14, 11, 18, 14, 12, 18, 14, 9, 20 ],\n[ 'Religious tradition', 'Hispanic Catholic', -17, -35, null, 4, 5, 4, 4, 6, 3, 5, 8, 2 ],\n[ 'Religious tradition', 'Atheist', -68, -76, null, 6, 11, 2, 5, 9, 1, 6, 8, 2 ],\n[ 'Religious tradition', 'Agnostic', -61, -70, null, 6, 10, 2, 5, 9, 2, 6, 9, 3 ],\n[ 'Religious tradition', 'Nothing in particular', -22, -25, -34, 14, 18, 11, 15, 17, 11, 14, 17, 8 ],\n[ 'Religious tradition', 'Jewish', -28, -43, -36, 2, 3, 2, 2, 3, 1, 2, 3, 2 ],\n[ 'Religious attendance', 'Monthly or more often', 30, 19, 21, 33, 23, 42, 37, 29, 46, 35, 27, 46 ],\n[ 'Religious attendance', 'A few times a year or less', -13, -18, -16, 67, 77, 58, 63, 71, 54, 65, 73, 54 ],\n[ 'Education (four-way)', 'Postgrad', -32, -35, -37, 17, 23, 11, 18, 23, 12, 14, 19, 9 ],\n[ 'Education (four-way)', 'College grad', -5, -14, -11, 24, 25, 22, 21, 23, 19, 23, 25, 21 ],\n[ 'Education (four-way)', 'Some college', 9, 1, 7, 31, 29, 33, 32, 30, 34, 34, 29, 37 ],\n[ 'Education (four-way)', 'HS or less', 20, 15, 7, 28, 23, 33, 28, 23, 34, 30, 28, 34 ],\n[ 'Education (two-way)', 'College grad+', -16, -24, -21, 41, 48, 33, 39, 47, 32, 37, 43, 29 ],\n[ 'Education (two-way)', 'Some college or less', 14, 8, 7, 59, 51, 67, 60, 53, 68, 63, 57, 71 ],\n[ 'Race\/ethnicity and education', 'White, college grad+', -12, -15, -17, 31, 35, 27, 31, 34, 27, 30, 34, 25 ],\n[ 'Race\/ethnicity and education', 'White, some college or less', 29, 32, 36, 40, 29, 51, 42, 27, 58, 44, 26, 63 ],\n[ 'Race\/ethnicity and education', 'Black, college grad+', -66, -84, null, 3, 6, 1, 3, 5, 1, 2, 4, 0 ],\n[ 'Race\/ethnicity and education', 'Black, some college or less', -69, -85, null, 6, 11, 2, 8, 14, 1, 8, 16, 1 ],\n[ 'Race\/ethnicity and education', 'Hispanic, college grad+', -14, -40, null, 3, 3, 2, 3, 3, 2, 2, 3, 1 ],\n[ 'Race\/ethnicity and education', 'Hispanic, some college or less', 1, -19, null, 8, 8, 8, 7, 8, 6, 8, 10, 5 ],\n[ 'Veteran (self)', 'Yes, self (veteran)', 28, 21, 26, 11, 8, 13, 11, 9, 15, 14, 10, 19 ],\n[ 'Veteran (self)', 'Not self', -2, -8, -7, 89, 92, 86, 88, 91, 85, 85, 90, 80 ],\n[ 'Veteran (self or household)', 'Yes, self or someone else in HH (veteran) ', 18, 12, 26, 24, 20, 28, 27, 23, 32, 28, 20, 38 ],\n[ 'Veteran (self or household)', 'No, nobody in household', -4, -12, -14, 76, 80, 72, 72, 77, 67, 72, 80, 62 ],\n[ 'Gender and education', 'Men, college grad+', -3, -18, -7, 19, 19, 18, 18, 20, 15, 16, 17, 15 ],\n[ 'Gender and education', 'Men, some college or less', 20, 15, 22, 30, 24, 36, 30, 24, 36, 29, 22, 38 ],\n[ 'Gender and education', 'Women, college grad+', -28, -28, -32, 22, 28, 16, 21, 26, 16, 20, 27, 14 ],\n[ 'Gender and education', 'Women, some college or less', 9, 1, -5, 28, 26, 30, 30, 28, 32, 34, 35, 33 ],\n[ 'Gender and education among White voters', 'White men, college grad+', 1, -10, -3, 20, 22, 18, 19, 24, 15, 17, 21, 14 ],\n[ 'Gender and education among White voters', 'White men, some college or less', 33, 35, 50, 29, 22, 35, 29, 21, 35, 28, 16, 38 ],\n[ 'Gender and education among White voters', 'White women, college grad+', -20, -19, -26, 23, 31, 16, 23, 31, 17, 23, 36, 15 ],\n[ 'Gender and education among White voters', 'White women, some college or less', 25, 29, 23, 27, 23, 30, 28, 23, 33, 32, 27, 33 ],\n[ 'Race\/ethnicity and two-way age', 'White, 18-49', -1, 0, -2, 30, 30, 29, 29, 27, 30, 30, 28, 29 ],\n[ 'Race\/ethnicity and two-way age', 'White, 50+', 19, 21, 25, 41, 34, 49, 44, 34, 56, 44, 32, 60 ],\n[ 'Race\/ethnicity and two-way age', 'Black, 18-49', -55, -76, null, 4, 7, 2, 5, 8, 1, 5, 10, 1 ],\n[ 'Race\/ethnicity and two-way age', 'Black, 50+', -79, -91, null, 5, 9, 1, 6, 11, 0, 5, 10, 0 ],\n[ 'Race\/ethnicity and two-way age', 'Hispanic, 18-49', -8, -24, null, 6, 6, 5, 6, 7, 5, 5, 7, 3 ],\n[ 'Race\/ethnicity and two-way age', 'Hispanic, 50+', 3, -26, null, 5, 5, 5, 3, 4, 3, 5, 6, 3 ],\n[ 'Gender and two-way age', 'Men, 18-49', 1, -10, 3, 22, 22, 22, 22, 22, 20, 21, 19, 22 ],\n[ 'Gender and two-way age', 'Men, 50+', 20, 13, 18, 26, 22, 31, 26, 22, 31, 24, 20, 31 ],\n[ 'Gender and two-way age', 'Women, 18-49', -14, -22, -36, 21, 24, 17, 22, 25, 18, 23, 30, 14 ],\n[ 'Gender and two-way age', 'Women, 50+', -1, -2, -1, 29, 30, 29, 29, 29, 30, 32, 32, 34 ],\n[ 'Gender and four-way age', 'Men, 18-29', -5, -14, null, 7, 8, 7, 7, 7, 6, 6, 6, 5 ],\n[ 'Gender and four-way age', 'Women, 18-29', -29, -35, null, 7, 9, 5, 7, 9, 5, 8, 10, 3 ],\n[ 'Gender and four-way age', 'Men, 30-49', 5, -9, 8, 15, 14, 15, 14, 15, 14, 16, 13, 17 ],\n[ 'Gender and four-way age', 'Women, 30-49', -8, -14, -31, 14, 16, 13, 15, 16, 13, 15, 19, 10 ],\n[ 'Gender and four-way age', 'Men, 50-64', 22, 15, 16, 14, 11, 17, 13, 11, 16, 12, 10, 15 ],\n[ 'Gender and four-way age', 'Women, 50-64', 7, -1, -1, 13, 12, 14, 14, 14, 15, 17, 16, 17 ],\n[ 'Gender and four-way age', 'Men, 65+', 18, 13, 21, 12, 10, 14, 12, 10, 15, 12, 10, 16 ],\n[ 'Gender and four-way age', 'Women, 65+', -8, -3, 0, 16, 18, 15, 15, 15, 16, 15, 15, 16 ],\n[ 'Decade of birth', '1930s and earlier', 10, 12, 18, 2, 1, 2, 3, 2, 3, 7, 6, 9 ],\n[ 'Decade of birth', '1940s', 10, 4, 8, 10, 9, 11, 12, 12, 14, 17, 16, 20 ],\n[ 'Decade of birth', '1950s', -1, 3, 4, 17, 18, 17, 20, 19, 22, 19, 18, 21 ],\n[ 'Decade of birth', '1960s', 13, 7, 2, 20, 18, 23, 19, 17, 21, 17, 16, 18 ],\n[ 'Decade of birth', '1970s', 2, -6, -9, 15, 14, 15, 15, 15, 14, 16, 16, 14 ],\n[ 'Decade of birth', '1980s', 3, -13, -16, 15, 15, 15, 15, 17, 14, 16, 17, 13 ],\n[ 'Decade of birth', '1990s\/2000s', -13, -26, -37, 21, 24, 18, 16, 19, 12, 8, 11, 5 ],\n[ 'Union membership (self)', 'Yes, union', -13, -13, -18, 11, 13, 10, 9, 10, 8, 11, 12, 9 ],\n[ 'Union membership (self)', 'No, not union', 4, -4, -1, 88, 87, 90, 90, 89, 91, 89, 88, 91 ],\n[ 'Mode of voting', 'In person, Election Day', 16, 32, null, 34, 29, 38, 27, 17, 38, null, null, null ],\n[ 'Mode of voting', 'In person, early', 14, 5, null, 32, 28, 36, 27, 24, 30, null, null, null ],\n[ 'Mode of voting', 'Absentee or mail-in ballot', -24, -33, null, 34, 43, 25, 45, 58, 32, null, null, null ],\n[ 'Family income tiers', 'Upper income', -5, -11, null, 22, 23, 21, 24, 26, 23, null, null, null ],\n[ 'Family income tiers', 'Middle income', 4, 4, null, 50, 49, 51, 50, 46, 55, null, null, null ],\n[ 'Family income tiers', 'Lower income', -1, -19, null, 23, 23, 22, 21, 24, 18, null, null, null ],\n[ 'Sexual orientation', 'Straight', 8, 0, null, 90, 84, 96, 92, 88, 97, null, null, null ],\n[ 'Sexual orientation', 'Gay, lesbian or bisexual', -69, -69, null, 7, 12, 2, 5, 9, 2, null, null, null ],\n[ 'Gender and sexual orientation', 'Straight men', 17, 7, null, 45, 38, 52, 44, 39, 49, null, null, null ],\n[ 'Gender and sexual orientation', 'Straight women', 0, -7, null, 45, 46, 45, 48, 49, 47, null, null, null ],\n[ 'Gender and sexual orientation', 'Gay\/bisexual men', -65, -70, null, 3, 5, 1, 3, 4, 1, null, null, null ],\n[ 'Gender and sexual orientation', 'Lesbian\/gay\/bisexual women', -72, -67, null, 4, 6, 1, 2, 4, 1, null, null, null ]\n];\n\/\/-->\n<\/script>\n    <style>\n        .plot-container {\n            font-family: Helvetica, Arial, sans-serif;\n            margin: 30px 0;\n            padding: 20px;\n            border-radius: 8px;\n        }\n        .plot-container big {\n            font-weight: bold;\n            font-size: 20px;\n        }\n        .plot-title {\n            font-size: 18px;\n            margin-bottom: 15px;\n        }\n        .plot-container canvas {\n            cursor: crosshair;\n            display: block;\n            width: 100%;\n            height: auto;\n        }\n        .instructions {\n            margin-top: 10px;\n            font-size: 14px;\n            color: #666;\n        }\n        .results {\n            margin-top: 15px;\n            font-size: 16px;\n            font-weight: bold;\n            min-height: 60px;\n        }\n        .result-row {\n            margin: 5px 0;\n        }\n        .guess-result {\n            color: #666;\n        }\n        .actual-result {\n            color: #00cdff;\n        }\n        .revealed {\n            cursor: default;\n        }\n\n        .controls {\n            display: grid;\n            grid-template-columns: 1fr 1fr;\n            gap: 20px;\n        }\n        .control-group {\n            border: 1px solid #ccc;\n            padding: 15px;\n            border-radius: 8px;\n        }\n        .control-group h3 {\n            margin-top: 0;\n            color: #333;\n        }\n        .primary h3 {\n            color: #00cdff;\n        }\n        .secondary h3 {\n            color: #ff00bc;\n        }\n        #compareplot label {\n            display: block;\n            margin-top: 10px;\n            font-weight: bold;\n            font-size: 14px;\n        }\n        #compareplot select {\n            width: 100%;\n            padding: 8px;\n            margin-top: 5px;\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n        }\n        #compareplot canvas {\n            display: block;\n            width: 100%;\n            height: auto;\n        }\n        .valbox {\n            margin: 15px 0px 5px 0px;\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 16px;\n        }\n    <\/style>\n\n    <script>\n<!--\n\/\/        (function() {\n            \/\/ Assumes votedata is defined globally\n            function findDataPoint(group, segment, year) {\n            const row = votedata.find(r => r[1] === group);\n            if (!row) return null;\n\n            let marginIdx, pctIdx;\n            \n            if (year === 2024) {\n                marginIdx = 2;\n                pctIdx = segment === 'all' ? 5 : segment === 'dem' ? 6 : 7;\n            } else if (year === 2020) {\n                marginIdx = 3;\n                pctIdx = segment === 'all' ? 8 : segment === 'dem' ? 9 : 10;\n            } else if (year === 2016) {\n                marginIdx = 4;\n                pctIdx = segment === 'all' ? 11 : segment === 'dem' ? 12 : 13;\n            }\n\n            const margin = row[marginIdx];\n            const pct = row[pctIdx];\n\n            if (margin === null || pct === null) return null;\n\n            return { margin, pct };\n        }\n\n        class GuessPlot {\n            constructor(canvasId, group, segment, year, resultsId) {\n                this.canvas = document.getElementById(canvasId);\n                this.ctx = this.canvas.getContext('2d');\n                this.resultsDiv = document.getElementById(resultsId);\n                this.group = group;\n                this.segment = segment;\n                this.year = year;\n                this.guessX = null;\n                this.guessY = null;\n                this.guessMargin = null;\n                this.guessPct = null;\n                this.revealed = false;\n                this.actualData = findDataPoint(group, segment, year);\n                \n                this.draw();\n                this.canvas.addEventListener('click', (e) => this.handleClick(e));\n            }\n\n            draw() {\n                const ctx = this.ctx;\n                const width = this.canvas.width;\n                const height = this.canvas.height;\n                const margin = 120;\n                const plotWidth = width - 2 * margin;\n                const plotHeight = height - 2 * margin;\n\n                ctx.clearRect(0, 0, width, height);\n                ctx.fillStyle = 'white';\n                ctx.fillRect(0, 0, width, height);\n\n                \/\/ Draw light gray gridlines\n                ctx.strokeStyle = '#ddd';\n                ctx.lineWidth = 1;\n\n                \/\/ Vertical gridlines (25, 50, 75, 100%)\n                [10, 20, 30, 40, 50, 60, 70, 80, 90, 100].forEach(pct => {\n                    const y = margin + plotHeight - (pct \/ 100) * plotHeight;\n                    ctx.beginPath();\n                    ctx.moveTo(margin, y);\n                    ctx.lineTo(width - margin, y);\n                    ctx.stroke();\n                });\n\n                \/\/ Horizontal gridlines (-100, -50, 50, 100)\n                [-100, -75, -50, -25, 25, 50, 75, 100].forEach(val => {\n                    const x = margin + ((val + 100) \/ 200) * plotWidth;\n                    ctx.beginPath();\n                    ctx.moveTo(x, margin);\n                    ctx.lineTo(x, height - margin);\n                    ctx.stroke();\n                });\n\n                \/\/ Draw dark gray gridlines at 0 (these will appear black)\n                ctx.strokeStyle = '#000';\n                ctx.lineWidth = 2;\n\n                \/\/ Vertical at 50% (0 margin)\n                const centerX = margin + plotWidth \/ 2;\n                ctx.beginPath();\n                ctx.moveTo(centerX, margin);\n                ctx.lineTo(centerX, height - margin);\n                ctx.stroke();\n\n                \/\/ Horizontal at 0%\n                const bottomY = height - margin;\n                ctx.beginPath();\n                ctx.moveTo(margin, bottomY);\n                ctx.lineTo(width - margin, bottomY);\n                ctx.stroke();\n\n                \/\/ Labels - save and restore context for Y-axis label\n                ctx.save();\n                ctx.fillStyle = '#333';\n                ctx.font = '24px Helvetica';\n                ctx.textAlign = 'center';\n                ctx.textBaseline = 'middle';\n                ctx.translate(40, height \/ 2);\n                ctx.rotate(-Math.PI \/ 2);\n                ctx.fillText('PCT OF VOTERS', 0, 0);\n                ctx.restore();\n\n                \/\/ Y-axis tick labels\n                ctx.fillStyle = '#333';\n                ctx.textAlign = 'right';\n                ctx.textBaseline = 'middle';\n                ctx.font = '24px Helvetica';\n                const y50 = margin + plotHeight - (50 \/ 100) * plotHeight;\n                const y100 = margin + plotHeight - (100 \/ 100) * plotHeight;\n                ctx.fillText('50%', margin - 15, y50);\n                ctx.fillText('100%', margin - 15, y100);\n\n                \/\/ X-axis labels - moved closer to chart\n                ctx.textBaseline = 'top';\n                ctx.textAlign = 'left';\n                ctx.fillText('DEM +100', margin, height - margin + 15);\n                ctx.textAlign = 'right';\n                ctx.fillText('REP +100', width - margin, height - margin + 15);\n\n                \/\/ Draw guess if made\n                if (this.guessX !== null && this.guessY !== null) {\n                    ctx.strokeStyle = '#000';\n                    ctx.lineWidth = 4;\n                    const size = 10;\n                    ctx.beginPath();\n                    ctx.moveTo(this.guessX - size, this.guessY - size);\n                    ctx.lineTo(this.guessX + size, this.guessY + size);\n                    ctx.moveTo(this.guessX + size, this.guessY - size);\n                    ctx.lineTo(this.guessX - size, this.guessY + size);\n                    ctx.stroke();\n                }\n\n                \/\/ Draw actual data if revealed\n                if (this.revealed && this.actualData) {\n                    const x = margin + ((this.actualData.margin + 100) \/ 200) * plotWidth;\n                    const y = margin + plotHeight - (this.actualData.pct \/ 100) * plotHeight;\n\n                    ctx.fillStyle = '#00cdff';\n                    ctx.beginPath();\n                    ctx.arc(x, y, 12, 0, 2 * Math.PI);\n                    ctx.fill();\n                }\n            }\n\n            updateResults() {\n                if (!this.revealed) {\n                    this.resultsDiv.innerHTML = '';\n                    return;\n                }\n\n                let html = '';\n                if (this.guessMargin !== null && this.guessPct !== null) {\n                    html += `<div class=\"result-row guess-result\">Your guess: Margin ${this.guessMargin > 0 ? 'R+' : 'D+'}${Math.abs(this.guessMargin).toFixed(0)}, ${this.guessPct.toFixed(1)}% of voters<\/div>`;\n                }\n                if (this.actualData) {\n                    html += `<div class=\"result-row actual-result\">Actual: Margin ${this.actualData.margin > 0 ? 'R+' : 'D+'}${Math.abs(this.actualData.margin)}, ${this.actualData.pct}% of voters<\/div>`;\n                }\n                this.resultsDiv.innerHTML = html;\n            }\n\n            handleClick(e) {\n                if (this.revealed) return;\n\n                const rect = this.canvas.getBoundingClientRect();\n                const scaleX = this.canvas.width \/ rect.width;\n                const scaleY = this.canvas.height \/ rect.height;\n                const x = (e.clientX - rect.left) * scaleX;\n                const y = (e.clientY - rect.top) * scaleY;\n\n                const margin = 120;\n                const plotWidth = this.canvas.width - 2 * margin;\n                const plotHeight = this.canvas.height - 2 * margin;\n\n                \/\/ Check if click is within plot area\n                if (x >= margin && x <= this.canvas.width - margin &&\n                    y >= margin && y <= this.canvas.height - margin) {\n                    \n                    this.guessX = x;\n                    this.guessY = y;\n                    \n                    \/\/ Convert click position to margin and percentage values\n                    this.guessMargin = ((x - margin) \/ plotWidth) * 200 - 100;\n                    this.guessPct = ((this.canvas.height - margin - y) \/ plotHeight) * 100;\n                    \n                    this.revealed = true;\n                    this.canvas.classList.add('revealed');\n                    this.draw();\n                    this.updateResults();\n                }\n            }\n        }\n\n\/\/-->\n    <\/script>\n\n\n\n<p>After every federal election, Pew Research Center <a href=\"https:\/\/www.pewresearch.org\/politics\/2025\/06\/26\/behind-trumps-2024-victory-a-more-racially-and-ethnically-diverse-voter-coalition\/\">conducts an incredibly useful bit of polling<\/a>: asking Americans what they did on Election Day and validating that those who reported voting were actually registered voters. It takes a few months for the analysis to be completed, but the result is one of the most useful and detailed assessments of the electorate \u2014&nbsp;and the non-voter pool \u2014&nbsp;that is publicly available. Think exit polls, but more reliable.<\/p>\n\n\n\n<p>I&#8217;ve used this analysis (the 2024 iteration of which was published in June) in the past to evaluate <a href=\"https:\/\/www.pbump.net\/o\/how-trumps-coalition-shifted-from-2016-to-2024-and-how-it-didnt\/\">how Donald Trump&#8217;s base has evolved<\/a> since the 2016 election. But after seeing a social-media post this week (which I&#8217;ll share in a moment), I realized that there&#8217;s a lot more information that can be presented to help explore how the 2024 election unfolded.<\/p>\n\n\n\n<p><strong>I came up with a little game<\/strong>. Below is a blank scatterplot, a chart that contrasts the margin of support in the presidential race (from more Democratic at left to more Republican at right) with the percentage of voters a particular demographic group constituted last year.<\/p>\n\n\n\n<p>I know that&#8217; complicated, so let me just explain what to do. Figure out what percentage of the electorate were White men last year and what margin they preferred the Democratic (Kamala Harris) or Republican (Trump) candidate in the election. If you think that they were 100 percent of voters and split evenly between Harris and Trump, you&#8217;d be wrong. But you&#8217;d click\/tap right at the top center of the chart \u2014&nbsp;at the place where 100% of the electorate meets zero on the left-right spectrum. If you think they were 50 percent of voters and backed Trump by 50 points, you&#8217;d tap\/click at the intersection of the second horizontal line down and the third vertical line from the left.<\/p>\n\n\n\n<p>That&#8217;s confusing, too. So just try it.<\/p>\n\n\n\n<div class=\"plot-container\">\n        <div class=\"plot-title\">Where did <big>White men<\/big> fall among <big>all voters<\/big> in <big>2024<\/big>?<\/div>\n        <canvas id=\"plot1\" width=\"1200\" height=\"1200\"><\/canvas>\n        <div class=\"results\" id=\"results1\"><\/div>\n    <\/div>\n\n<script>\n<!--\n        new GuessPlot('plot1', 'White men', 'all', 2024, 'results1');\n\/\/-->\n<\/script>\n\n\n\n<p>Once you do, it tells you how close you were. Was the actual value where you thought it would be?<\/p>\n\n\n\n<p>Now try to guess where the values for Black voters (all of them, not just men) landed last year.<\/p>\n\n\n\n<div class=\"plot-container\">\n        <div class=\"plot-title\">Where did <big>Black voters<\/big> fall among <big>all voters<\/big> in <big>2024<\/big>?<\/div>\n        <canvas id=\"plot2\" width=\"1200\" height=\"1200\"><\/canvas>\n        <div class=\"results\" id=\"results2\"><\/div>\n    <\/div>\n\n<script>\n<!--\n        new GuessPlot('plot2', 'Black', 'all', 2024, 'results2');\n\/\/-->\n<\/script>\n\n\n\n<p>Contrast that with the values for White evangelical Protestant voters.<\/p>\n\n\n\n<div class=\"plot-container\">\n        <div class=\"plot-title\">Where did <big>Evangelical voters<\/big> fall among <big>all voters<\/big> in <big>2024<\/big>?<\/div>\n        <canvas id=\"plot3\" width=\"1200\" height=\"1200\"><\/canvas>\n        <div class=\"results\" id=\"results3\"><\/div>\n    <\/div>\n\n<script>\n<!--\n        new GuessPlot('plot3', 'White evangelical Protestant', 'all', 2024, 'results3');\n\/\/-->\n<\/script>\n\n\n\n<p>Why that comparison? Because it was a post from my former colleague Perry Bacon that inspired this experiment.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-bluesky-social wp-block-embed-bluesky-social\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"bluesky-embed\" data-bluesky-uri=\"at:\/\/did:plc:iig55lfqe6rnvcmx55mhhhqq\/app.bsky.feed.post\/3lzvniqyflk2p\" data-bluesky-cid=\"bafyreig5r5uaoyojkrowpq2x5yyx2d7sdazpymkhvoye6ccwyt2yi5z7bm\"><p lang=\"en\">The number of white evangelicals backing Harris in 2024 is around the same as Black voters backing Trump. (15 percent of the group).<\/p>&mdash; <a href=\"https:\/\/bsky.app\/profile\/did:plc:iig55lfqe6rnvcmx55mhhhqq?ref_src=embed\">Perry Bacon (@perrybaconjr.bsky.social)<\/a> <a href=\"https:\/\/bsky.app\/profile\/did:plc:iig55lfqe6rnvcmx55mhhhqq\/post\/3lzvniqyflk2p?ref_src=embed\">2025-09-28T13:55:00.671Z<\/a><\/blockquote><script async src=\"https:\/\/embed.bsky.app\/static\/embed.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n\n\n\n<p>You&#8217;ll notice that his point is about shares of voters for Harris and Trump, not voters overall. We can test that, too. (Note the change in the question below.)<\/p>\n\n\n\n<div class=\"plot-container\">\n        <div class=\"plot-title\">Where did <big>Black voters<\/big> fall among <big>Democratic voters<\/big> in <big>2024<\/big>?<\/div>\n        <canvas id=\"plot9\" width=\"1200\" height=\"1200\"><\/canvas>\n        <div class=\"results\" id=\"results9\"><\/div>\n    <\/div>\n\n<script>\n<!--\n        new GuessPlot('plot9', 'Black', 'dem', 2024, 'results9');\n\/\/-->\n<\/script>\n\n\n\n<p>We can run the same experiment for years past, given that Pew&#8217;s been doing this since 2016.<\/p>\n\n\n\n<div class=\"plot-container\">\n        <div class=\"plot-title\">Where did <big>Black voters<\/big> fall among <big>all voters<\/big> in <big>2016<\/big>?<\/div>\n        <canvas id=\"plot4\" width=\"1200\" height=\"1200\"><\/canvas>\n        <div class=\"results\" id=\"results4\"><\/div>\n    <\/div>\n\n<script>\n<!--\n        new GuessPlot('plot4', 'Black', 'all', 2016, 'results4');\n\/\/-->\n<\/script>\n\n\n\n<p>The Pew data encapsulates an enormous range of demographic groups, particularly in more recent years. (There are some caveats I mostly elide here; feel free to <a href=\"https:\/\/www.pewresearch.org\/politics\/2025\/06\/26\/behind-trumps-2024-victory-a-more-racially-and-ethnically-diverse-voter-coalition\/\">go read the methodology in detail<\/a>.)<\/p>\n\n\n\n<div class=\"plot-container\">\n        <div class=\"plot-title\">Where did <big>Hispanic voters<\/big> fall among <big>all voters<\/big> in <big>2024<\/big>?<\/div>\n        <canvas id=\"plot5\" width=\"1200\" height=\"1200\"><\/canvas>\n        <div class=\"results\" id=\"results5\"><\/div>\n    <\/div>\n\n<script>\n<!--\n        new GuessPlot('plot5', 'Hispanic', 'all', 2024, 'results5');\n\/\/-->\n<\/script>\n\n\n\n<p>At the bottom of this article is a version of the scatterplot that lets you compare demographics and years directly. One thing you might want to play around with is how voting shifted by age. For example, try your hand at how young voters voted in 2024\u2026<\/p>\n\n\n\n<div class=\"plot-container\">\n        <div class=\"plot-title\">Where did <big>voters under 30<\/big> fall among <big>all voters<\/big> in <big>2024<\/big>?<\/div>\n        <canvas id=\"plot6\" width=\"1200\" height=\"1200\"><\/canvas>\n        <div class=\"results\" id=\"results6\"><\/div>\n    <\/div>\n\n<script>\n<!--\n        new GuessPlot('plot6', '18-29', 'all', 2024, 'results6');\n\/\/-->\n<\/script>\n\n\n\n<p>\u2026versus 2016.<\/p>\n\n\n\n<div class=\"plot-container\">\n        <div class=\"plot-title\">Where did <big>voters under 30<\/big> fall among <big>all voters<\/big> in <big>2020<\/big>?<\/div>\n        <canvas id=\"plot10\" width=\"1200\" height=\"1200\"><\/canvas>\n        <div class=\"results\" id=\"results10\"><\/div>\n    <\/div>\n\n<script>\n<!--\n        new GuessPlot('plot10', '18-29', 'all', 2020, 'results10');\n\/\/-->\n<\/script>\n\n\n\n<p>And then compare that with older voters.<\/p>\n\n\n\n<div class=\"plot-container\">\n        <div class=\"plot-title\">Where did <big>65 and older<\/big> fall among <big>all voters<\/big> in <big>2024<\/big>?<\/div>\n        <canvas id=\"plot7\" width=\"1200\" height=\"1200\"><\/canvas>\n        <div class=\"results\" id=\"results7\"><\/div>\n    <\/div>\n\n<script>\n<!--\n        new GuessPlot('plot7', '65+', 'all', 2024, 'results7');\n\/\/-->\n<\/script>\n\n\n\n<p>One demographic group I found interesting to consider, given the amount of attention that has been paid to it over the past few years, is Jewish Americans. Where do you estimate their support lands on our chart?<\/p>\n\n\n\n<div class=\"plot-container\">\n        <div class=\"plot-title\">Where did <big>Jewish voters<\/big> fall among <big>all voters<\/big> in <big>2024<\/big>?<\/div>\n        <canvas id=\"plot8\" width=\"1200\" height=\"1200\"><\/canvas>\n        <div class=\"results\" id=\"results8\"><\/div>\n    <\/div>\n\n<script>\n<!--\n        new GuessPlot('plot8', 'Jewish', 'all', 2024, 'results8');\n\/\/-->\n<\/script>\n\n\n\n<p>Anyway, here&#8217;s the whole thing. Lots of categories and cross-tabulations to explore. There are some gaps in the data for 2020 and (more often) 2016, so if a dot doesn&#8217;t show up on the chart for some combination, that&#8217;s likely why.<\/p>\n\n\n\n<div id=\"compareplot\">    \n    <div class=\"controls\">\n        <div class=\"control-group primary\">\n            <h3>SELECTION<\/h3>\n            <label for=\"group1\">Demographic<\/label>\n            <select id=\"group1\"><\/select>\n            \n            <label for=\"segment1\">Voter segment<\/label>\n            <select id=\"segment1\">\n                <option value=\"all\">All voters<\/option>\n                <option value=\"dem\">Democratic voters<\/option>\n                <option value=\"rep\">Republican voters<\/option>\n            <\/select>\n            \n            <label for=\"year1\">Year<\/label>\n            <select id=\"year1\">\n                <option value=\"2024\">2024<\/option>\n                <option value=\"2020\">2020<\/option>\n                <option value=\"2016\">2016<\/option>\n            <\/select>\n\n            <div id=\"valuesselection\" class=\"valbox\"><\/div>\n\n        <\/div>\n\n        <div class=\"control-group secondary\">\n            <h3>COMPARISON<\/h3>\n            <label for=\"group2\">Demographic<\/label>\n            <select id=\"group2\"><\/select>\n            \n            <label for=\"segment2\">Voter segment<\/label>\n            <select id=\"segment2\">\n                <option value=\"all\">All voters<\/option>\n                <option value=\"dem\">Democratic voters<\/option>\n                <option value=\"rep\">Republican voters<\/option>\n            <\/select>\n            \n            <label for=\"year2\">Year<\/label>\n            <select id=\"year2\">\n                <option value=\"2024\">2024<\/option>\n                <option value=\"2020\">2020<\/option>\n                <option value=\"2016\">2016<\/option>\n            <\/select>\n\n            <div id=\"valuescomparison\" class=\"valbox\"><\/div>\n\n        <\/div>\n    <\/div>\n\n    <canvas id=\"plotCanvas\" width=\"1400\" height=\"1400\"><\/canvas>\n\n    <div id=\"values\" style=\"margin-top: 20px; font-size: 16px; min-height: 60px;\">\n    <\/div>\n<\/div>\n\n    <script>\n<!--\n        function getGroupedDemographics() {\n            const grouped = {};\n            votedata.forEach(row => {\n                const category = row[0];\n                const group = row[1];\n                if (!grouped[category]) {\n                    grouped[category] = [];\n                }\n                if (!grouped[category].includes(group)) {\n                    grouped[category].push(group);\n                }\n            });\n            return grouped;\n        }\n\n        function populateGroupSelects() {\n            const grouped = getGroupedDemographics();\n            const group1Select = document.getElementById('group1');\n            const group2Select = document.getElementById('group2');\n\n            \/\/ Clear existing options\n            group1Select.innerHTML = '';\n            group2Select.innerHTML = '';\n\n            \/\/ Add optgroups for each category\n            Object.keys(grouped).forEach(category => {\n                const optgroup1 = document.createElement('optgroup');\n                optgroup1.label = category;\n                const optgroup2 = document.createElement('optgroup');\n                optgroup2.label = category;\n\n                grouped[category].forEach(group => {\n                    const option1 = document.createElement('option');\n                    option1.value = group;\n                    option1.textContent = group;\n                    optgroup1.appendChild(option1);\n\n                    const option2 = document.createElement('option');\n                    option2.value = group;\n                    option2.textContent = group;\n                    optgroup2.appendChild(option2);\n                });\n\n                group1Select.appendChild(optgroup1);\n                group2Select.appendChild(optgroup2);\n            });\n\n            \/\/ Set default secondary selection to second item overall\n            const allOptions = group2Select.querySelectorAll('option');\n            if (allOptions.length > 1) {\n                allOptions[1].selected = true;\n            }\n        }\n\n        function findDataPoint(group, segment, year) {\n            const row = votedata.find(r => r[1] === group);\n            if (!row) return null;\n\n            let marginIdx, pctIdx;\n            \n            if (year === 2024) {\n                marginIdx = 2;\n                pctIdx = segment === 'all' ? 5 : segment === 'dem' ? 6 : 7;\n            } else if (year === 2020) {\n                marginIdx = 3;\n                pctIdx = segment === 'all' ? 8 : segment === 'dem' ? 9 : 10;\n            } else if (year === 2016) {\n                marginIdx = 4;\n                pctIdx = segment === 'all' ? 11 : segment === 'dem' ? 12 : 13;\n            }\n\n            const margin = row[marginIdx];\n            const pct = row[pctIdx];\n\n            if (margin === null || pct === null) return null;\n\n            return { margin, pct };\n        }\n\n        function drawPlot() {\n            const canvas = document.getElementById('plotCanvas');\n            const ctx = canvas.getContext('2d');\n            const width = canvas.width;\n            const height = canvas.height;\n            const margin = 120;\n            const plotWidth = width - 2 * margin;\n            const plotHeight = height - 2 * margin;\n\n            ctx.clearRect(0, 0, width, height);\n            ctx.fillStyle = 'white';\n            ctx.fillRect(0, 0, width, height);\n\n            \/\/ Draw light gray gridlines\n            ctx.strokeStyle = '#ddd';\n            ctx.lineWidth = 1;\n\n            \/\/ Vertical gridlines (25, 50, 75, 100%)\n            [25, 50, 75, 100].forEach(pct => {\n                const y = margin + plotHeight - (pct \/ 100) * plotHeight;\n                ctx.beginPath();\n                ctx.moveTo(margin, y);\n                ctx.lineTo(width - margin, y);\n                ctx.stroke();\n            });\n\n            \/\/ Horizontal gridlines (-100, -50, 50, 100)\n            [-100, -50, 50, 100].forEach(val => {\n                const x = margin + ((val + 100) \/ 200) * plotWidth;\n                ctx.beginPath();\n                ctx.moveTo(x, margin);\n                ctx.lineTo(x, height - margin);\n                ctx.stroke();\n            });\n\n            \/\/ Draw dark gray gridlines at 0 (these will appear black)\n            ctx.strokeStyle = '#000';\n            ctx.lineWidth = 2;\n\n            \/\/ Vertical at 50% (0 margin)\n            const centerX = margin + plotWidth \/ 2;\n            ctx.beginPath();\n            ctx.moveTo(centerX, margin);\n            ctx.lineTo(centerX, height - margin);\n            ctx.stroke();\n\n            \/\/ Horizontal at 0%\n            const bottomY = height - margin;\n            ctx.beginPath();\n            ctx.moveTo(margin, bottomY);\n            ctx.lineTo(width - margin, bottomY);\n            ctx.stroke();\n\n            \/\/ Labels - save and restore context for Y-axis label\n            ctx.save();\n            ctx.fillStyle = '#333';\n            ctx.font = '24px Helvetica';\n            ctx.textAlign = 'center';\n            ctx.textBaseline = 'middle';\n            ctx.translate(40, height \/ 2);\n            ctx.rotate(-Math.PI \/ 2);\n            ctx.fillText('PCT OF VOTERS', 0, 0);\n            ctx.restore();\n\n            \/\/ Y-axis tick labels\n            ctx.fillStyle = '#333';\n            ctx.textAlign = 'right';\n            ctx.textBaseline = 'middle';\n            ctx.font = '24px Helvetica';\n            const y50 = margin + plotHeight - (50 \/ 100) * plotHeight;\n            const y100 = margin + plotHeight - (100 \/ 100) * plotHeight;\n            ctx.fillText('50%', margin - 15, y50);\n            ctx.fillText('100%', margin - 15, y100);\n\n            \/\/ X-axis labels - moved closer to chart\n            ctx.textBaseline = 'top';\n            ctx.textAlign = 'left';\n            ctx.fillText('DEM +100', margin, height - margin + 15);\n            ctx.textAlign = 'right';\n            ctx.fillText('REP +100', width - margin, height - margin + 15);\n\n            \/\/ Get current selections\n            const group1 = document.getElementById('group1').value;\n            const segment1 = document.getElementById('segment1').value;\n            const year1 = parseInt(document.getElementById('year1').value);\n\n            const group2 = document.getElementById('group2').value;\n            const segment2 = document.getElementById('segment2').value;\n            const year2 = parseInt(document.getElementById('year2').value);\n\n            \/\/ Draw primary point (circle)\n            const data1 = findDataPoint(group1, segment1, year1);\n            if (data1) {\n                const x = margin + ((data1.margin + 100) \/ 200) * plotWidth;\n                const y = margin + plotHeight - (data1.pct \/ 100) * plotHeight;\n\n                ctx.fillStyle = '#00cdff';\n                ctx.beginPath();\n                ctx.arc(x, y, 14, 0, 2 * Math.PI);\n                ctx.fill();\n            }\n\n            \/\/ Draw secondary point (square)\n            const data2 = findDataPoint(group2, segment2, year2);\n            if (data2) {\n                const x = margin + ((data2.margin + 100) \/ 200) * plotWidth;\n                const y = margin + plotHeight - (data2.pct \/ 100) * plotHeight;\n                const size = 14;\n\n                ctx.fillStyle = '#ff00bc';\n                ctx.fillRect(x - size, y - size, size * 2, size * 2);\n            }\n\n            \/\/ Update values display\n            updateValues(data1, data2);\n        }\n\n        function updateValues(data1, data2) {\n            const valuesSel = document.getElementById('valuesselection');\n            const valuesComp = document.getElementById('valuescomparison');\n            \n            if (data1) {\n                let htmls = `<span style=\"font-weight: bold; color: #00cdff;\">${data1.margin > 0 ? 'R+' : 'D+'}${Math.abs(data1.margin)}, ${data1.pct}% of voters<\/span>`;\n                valuesSel.innerHTML = htmls;\n            }\n            \n            if (data2) {\n                let htmlc = `<span style=\"font-weight: bold; color: #ff00bc;\">${data2.margin > 0 ? 'R+' : 'D+'}${Math.abs(data2.margin)}, ${data2.pct}% of voters<\/span>`;\n                valuesComp.innerHTML = htmlc;\n            }\n            \n        }\n\n        \/\/ Initialize\n        populateGroupSelects();\n\n        \/\/ Add event listeners\n        ['group1', 'segment1', 'year1', 'group2', 'segment2', 'year2'].forEach(id => {\n            document.getElementById(id).addEventListener('change', drawPlot);\n        });\n\n        \/\/ Initial draw\n        drawPlot();\n\/\/        })();\n\/\/-->\n    <\/script>\n\n\n\n<p>Find something particularly surprising? Let me know <a href=\"http:\/\/bsky.app\/profile\/pbump.com\">on social media<\/a> or <a href=\"mailto:philip@pbump.com\">by email<\/a>!<\/p>\n\n\n\n<p><em>Photo: Balloon drop at the 1972 Republican convention. (National Archives)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After every federal election, Pew Research Center conducts an incredibly useful bit of polling: asking Americans what they did on Election Day and validating that those who reported voting were actually registered voters. It takes a few months for the analysis to be completed, but the result is one of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":736,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-735","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/posts\/735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/comments?post=735"}],"version-history":[{"count":38,"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/posts\/735\/revisions"}],"predecessor-version":[{"id":774,"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/posts\/735\/revisions\/774"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/media\/736"}],"wp:attachment":[{"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/media?parent=735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/categories?post=735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pbump.net\/o\/wp-json\/wp\/v2\/tags?post=735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}