const data_elections = [ { "state": "Alabama", "population": 4918690, "registered": 3708804, "votes_biden": 849624, "votes_trump": 1441170, "votes_others": 32488, "pc_biden": 36.57, "pc_trump": 62.03, "pc_others": 1.4, "turnout_registered": 62.64, "turnout_population": 47.23, "gap": 25.46, "gpb_pc2018": 37261 }, { "state": "Alaska", "population": 727951, "registered": 597319, "votes_biden": 153778, "votes_trump": 189951, "votes_others": 15801, "pc_biden": 42.77, "pc_trump": 52.83, "pc_others": 4.39, "turnout_registered": 60.19, "turnout_population": 49.39, "gap": 10.06, "gpb_pc2018": 63971 }, { "state": "Arizona", "population": 7399410, "registered": 4281152, "votes_biden": 1672143, "votes_trump": 1661686, "votes_others": 53497, "pc_biden": 49.36, "pc_trump": 49.06, "pc_others": 1.58, "turnout_registered": 79.12, "turnout_population": 45.78, "gap": 0.31, "gpb_pc2018": 38590 }, { "state": "Arkansas", "population": 3025880, "registered": 1755775, "votes_biden": 423932, "votes_trump": 760647, "votes_others": 34490, "pc_biden": 34.78, "pc_trump": 62.4, "pc_others": 2.83, "turnout_registered": 69.43, "turnout_population": 40.29, "gap": 27.62, "gpb_pc2018": 36368 }, { "state": "California", "population": 39562900, "registered": 22047448, "votes_biden": 11110250, "votes_trump": 6006429, "votes_others": 384192, "pc_biden": 63.48, "pc_trump": 34.32, "pc_others": 2.2, "turnout_registered": 79.38, "turnout_population": 44.24, "gap": 29.16, "gpb_pc2018": 58619 }, { "state": "Colorado", "population": 5826180, "registered": 4238513, "votes_biden": 1804352, "votes_trump": 1364607, "votes_others": 87993, "pc_biden": 55.4, "pc_trump": 41.9, "pc_others": 2.7, "turnout_registered": 76.84, "turnout_population": 55.9, "gap": 13.5, "gpb_pc2018": 52795 }, { "state": "Connecticut", "population": 3559050, "registered": 2375537, "votes_biden": 1080680, "votes_trump": 715291, "votes_others": 28302, "pc_biden": 59.24, "pc_trump": 39.21, "pc_others": 1.55, "turnout_registered": 76.79, "turnout_population": 51.26, "gap": 20.03, "gpb_pc2018": 64511 }, { "state": "Delaware", "population": 982049, "registered": 738563, "votes_biden": 296268, "votes_trump": 200603, "votes_others": 7475, "pc_biden": 58.74, "pc_trump": 39.77, "pc_others": 1.48, "turnout_registered": 68.29, "turnout_population": 51.36, "gap": 18.97, "gpb_pc2018": 63664 }, { "state": "Florida", "population": 21711200, "registered": 14065627, "votes_biden": 5297045, "votes_trump": 5668731, "votes_others": 101680, "pc_biden": 47.86, "pc_trump": 51.22, "pc_others": 0.92, "turnout_registered": 78.68, "turnout_population": 50.98, "gap": 3.36, "gpb_pc2018": 39543 }, { "state": "Georgia", "population": 10723700, "registered": 7233584, "votes_biden": 2473633, "votes_trump": 2461854, "votes_others": 62229, "pc_biden": 49.5, "pc_trump": 49.26, "pc_others": 1.25, "turnout_registered": 69.09, "turnout_population": 46.6, "gap": 0.24, "gpb_pc2018": 44723 }, { "state": "Hawaii", "population": 1411150, "registered": 830000, "votes_biden": 366130, "votes_trump": 196864, "votes_others": 11475, "pc_biden": 63.73, "pc_trump": 34.27, "pc_others": 2, "turnout_registered": 69.21, "turnout_population": 40.71, "gap": 29.46, "gpb_pc2018": 51277 }, { "state": "Idaho", "population": 1823590, "registered": 1010984, "votes_biden": 287021, "votes_trump": 554119, "votes_others": 26091, "pc_biden": 33.1, "pc_trump": 63.9, "pc_others": 3.01, "turnout_registered": 85.78, "turnout_population": 47.56, "gap": 30.8, "gpb_pc2018": 35466 }, { "state": "Illinois", "population": 12620600, "registered": 8036534, "votes_biden": 3471915, "votes_trump": 2446891, "votes_others": 114938, "pc_biden": 57.54, "pc_trump": 40.55, "pc_others": 1.9, "turnout_registered": 75.08, "turnout_population": 47.81, "gap": 16.99, "gpb_pc2018": 54091 }, { "state": "Indiana", "population": 6768940, "registered": 4585024, "votes_biden": 1242413, "votes_trump": 1729516, "votes_others": 61183, "pc_biden": 40.96, "pc_trump": 57.02, "pc_others": 2.02, "turnout_registered": 66.15, "turnout_population": 44.81, "gap": 16.06, "gpb_pc2018": 45317 }, { "state": "Iowa", "population": 3161520, "registered": 2245096, "votes_biden": 759061, "votes_trump": 897672, "votes_others": 34138, "pc_biden": 44.89, "pc_trump": 53.09, "pc_others": 2.02, "turnout_registered": 75.31, "turnout_population": 53.48, "gap": 8.2, "gpb_pc2018": 50315 }, { "state": "Kansas", "population": 2915270, "registered": 1851397, "votes_biden": 570323, "votes_trump": 771406, "votes_others": 30574, "pc_biden": 41.56, "pc_trump": 56.21, "pc_others": 2.23, "turnout_registered": 74.12, "turnout_population": 47.07, "gap": 14.65, "gpb_pc2018": 46982 }, { "state": "Kentucky", "population": 4474190, "registered": 3565428, "votes_biden": 772474, "votes_trump": 1326646, "votes_others": 37648, "pc_biden": 36.15, "pc_trump": 62.09, "pc_others": 1.76, "turnout_registered": 59.93, "turnout_population": 47.76, "gap": 25.94, "gpb_pc2018": 38985 }, { "state": "Louisiana", "population": 4637900, "registered": 3091340, "votes_biden": 856034, "votes_trump": 1255776, "votes_others": 36252, "pc_biden": 39.85, "pc_trump": 58.46, "pc_others": 1.69, "turnout_registered": 69.49, "turnout_population": 46.32, "gap": 18.61, "gpb_pc2018": 43917 }, { "state": "Maine", "population": 1349370, "registered": 1063383, "votes_biden": 435072, "votes_trump": 360737, "votes_others": 23652, "pc_biden": 53.09, "pc_trump": 44.02, "pc_others": 2.89, "turnout_registered": 77.06, "turnout_population": 60.73, "gap": 9.07, "gpb_pc2018": 38921 }, { "state": "Maryland", "population": 6055560, "registered": 4141498, "votes_biden": 1985023, "votes_trump": 976414, "votes_others": 75593, "pc_biden": 65.36, "pc_trump": 32.15, "pc_others": 2.49, "turnout_registered": 73.33, "turnout_population": 50.15, "gap": 33.21, "gpb_pc2018": 55404 }, { "state": "Massachusetts", "population": 6902370, "registered": 4812909, "votes_biden": 2382202, "votes_trump": 1167202, "votes_others": 81998, "pc_biden": 65.6, "pc_trump": 32.14, "pc_others": 2.26, "turnout_registered": 75.45, "turnout_population": 52.61, "gap": 33.46, "gpb_pc2018": 65545 }, { "state": "Michigan", "population": 9989640, "registered": 8127040, "votes_biden": 2804040, "votes_trump": 2649852, "votes_others": 85410, "pc_biden": 50.62, "pc_trump": 47.84, "pc_others": 1.54, "turnout_registered": 68.16, "turnout_population": 55.45, "gap": 2.78, "gpb_pc2018": 43372 }, { "state": "Minnesota", "population": 5673020, "registered": 3588563, "votes_biden": 1717049, "votes_trump": 1484048, "votes_others": 76023, "pc_biden": 52.4, "pc_trump": 45.29, "pc_others": 2.32, "turnout_registered": 91.32, "turnout_population": 57.77, "gap": 7.11, "gpb_pc2018": 53704 }, { "state": "Mississippi", "population": 2971280, "registered": 1985928, "votes_biden": 539508, "votes_trump": 756789, "votes_others": 17597, "pc_biden": 41.06, "pc_trump": 57.6, "pc_others": 1.34, "turnout_registered": 66.16, "turnout_population": 44.22, "gap": 16.54, "gpb_pc2018": 31881 }, { "state": "Missouri", "population": 6153230, "registered": 4213092, "votes_biden": 1253014, "votes_trump": 1718736, "votes_others": 54212, "pc_biden": 41.41, "pc_trump": 56.8, "pc_others": 1.79, "turnout_registered": 71.82, "turnout_population": 49.18, "gap": 15.39, "gpb_pc2018": 43317 }, { "state": "Montana", "population": 1076890, "registered": 696292, "votes_biden": 244786, "votes_trump": 343602, "votes_others": 15286, "pc_biden": 40.55, "pc_trump": 56.92, "pc_others": 2.53, "turnout_registered": 86.7, "turnout_population": 56.06, "gap": 16.37, "gpb_pc2018": 39356 }, { "state": "Nebraska", "population": 1943200, "registered": 1252089, "votes_biden": 374583, "votes_trump": 556846, "votes_others": 20283, "pc_biden": 39.36, "pc_trump": 58.51, "pc_others": 2.13, "turnout_registered": 76.01, "turnout_population": 48.98, "gap": 19.15, "gpb_pc2018": 53114 }, { "state": "Nevada", "population": 3132970, "registered": 1821356, "votes_biden": 703486, "votes_trump": 669890, "votes_others": 32000, "pc_biden": 50.06, "pc_trump": 47.67, "pc_others": 2.28, "turnout_registered": 77.16, "turnout_population": 44.86, "gap": 2.39, "gpb_pc2018": 43820 }, { "state": "New Hampshire", "population": 1365960, "registered": 998537, "votes_biden": 424921, "votes_trump": 365654, "votes_others": 15607, "pc_biden": 52.71, "pc_trump": 45.36, "pc_others": 1.94, "turnout_registered": 80.74, "turnout_population": 59.02, "gap": 7.35, "gpb_pc2018": 51794 }, { "state": "New Jersey", "population": 8878360, "registered": 6486299, "votes_biden": 2608335, "votes_trump": 1883274, "votes_others": 57744, "pc_biden": 57.33, "pc_trump": 41.4, "pc_others": 1.27, "turnout_registered": 70.14, "turnout_population": 51.24, "gap": 15.94, "gpb_pc2018": 57084 }, { "state": "New Mexico", "population": 2100920, "registered": 1350181, "votes_biden": 501614, "votes_trump": 401894, "votes_others": 20457, "pc_biden": 54.29, "pc_trump": 43.5, "pc_others": 2.21, "turnout_registered": 68.43, "turnout_population": 43.98, "gap": 10.79, "gpb_pc2018": 41348 }, { "state": "New York", "population": 19376800, "registered": 13555547, "votes_biden": 5241957, "votes_trump": 3250075, "votes_others": 119043, "pc_biden": 60.87, "pc_trump": 37.74, "pc_others": 1.38, "turnout_registered": 63.52, "turnout_population": 44.44, "gap": 23.13, "gpb_pc2018": 64579 }, { "state": "North Carolina", "population": 10594600, "registered": 7361219, "votes_biden": 2684292, "votes_trump": 2758775, "votes_others": 81737, "pc_biden": 48.59, "pc_trump": 49.93, "pc_others": 1.48, "turnout_registered": 75.05, "turnout_population": 52.15, "gap": 1.35, "gpb_pc2018": 44325 }, { "state": "North Dakota", "population": 766044, "registered": 581379, "votes_biden": 114902, "votes_trump": 235595, "votes_others": 11322, "pc_biden": 31.76, "pc_trump": 65.11, "pc_others": 3.13, "turnout_registered": 62.23, "turnout_population": 47.23, "gap": 33.36, "gpb_pc2018": 62837 }, { "state": "Ohio", "population": 11701900, "registered": 7774767, "votes_biden": 2679165, "votes_trump": 3154834, "votes_others": 88203, "pc_biden": 45.24, "pc_trump": 53.27, "pc_others": 1.49, "turnout_registered": 76.17, "turnout_population": 50.61, "gap": 8.03, "gpb_pc2018": 47567 }, { "state": "Oklahoma", "population": 3973710, "registered": 2259113, "votes_biden": 503890, "votes_trump": 1020280, "votes_others": 36529, "pc_biden": 32.29, "pc_trump": 65.37, "pc_others": 2.34, "turnout_registered": 69.08, "turnout_population": 39.28, "gap": 33.09, "gpb_pc2018": 44623 }, { "state": "Oregon", "population": 4253590, "registered": 2924292, "votes_biden": 1340383, "votes_trump": 958448, "votes_others": 75490, "pc_biden": 56.45, "pc_trump": 40.37, "pc_others": 3.18, "turnout_registered": 81.19, "turnout_population": 55.82, "gap": 16.09, "gpb_pc2018": 50582 }, { "state": "Pennsylvania", "population": 12803100, "registered": 9091371, "votes_biden": 3459923, "votes_trump": 3378263, "votes_others": 79397, "pc_biden": 50.02, "pc_trump": 48.84, "pc_others": 1.15, "turnout_registered": 76.09, "turnout_population": 54.03, "gap": 1.18, "gpb_pc2018": 50997 }, { "state": "Rhode Island", "population": 1060440, "registered": 809821, "votes_biden": 307486, "votes_trump": 199922, "votes_others": 10349, "pc_biden": 59.39, "pc_trump": 38.61, "pc_others": 2, "turnout_registered": 63.93, "turnout_population": 48.82, "gap": 20.77, "gpb_pc2018": 47639 }, { "state": "South Carolina", "population": 5213270, "registered": 3513225, "votes_biden": 1091541, "votes_trump": 1385103, "votes_others": 36685, "pc_biden": 43.43, "pc_trump": 55.11, "pc_others": 1.46, "turnout_registered": 71.54, "turnout_population": 48.21, "gap": 11.68, "gpb_pc2018": 37063 }, { "state": "South Dakota", "population": 890620, "registered": 578666, "votes_biden": 150471, "votes_trump": 261043, "votes_others": 11095, "pc_biden": 35.61, "pc_trump": 61.77, "pc_others": 2.63, "turnout_registered": 73.03, "turnout_population": 47.45, "gap": 26.16, "gpb_pc2018": 48076 }, { "state": "Tennessee", "population": 6886720, "registered": 3931248, "votes_biden": 1143711, "votes_trump": 1852475, "votes_others": 57665, "pc_biden": 37.45, "pc_trump": 60.66, "pc_others": 1.89, "turnout_registered": 77.68, "turnout_population": 44.34, "gap": 23.21, "gpb_pc2018": 43267 }, { "state": "Texas", "population": 29363100, "registered": 16211198, "votes_biden": 5259126, "votes_trump": 5890347, "votes_others": 165583, "pc_biden": 46.48, "pc_trump": 52.06, "pc_others": 1.46, "turnout_registered": 69.8, "turnout_population": 38.53, "gap": 5.58, "gpb_pc2018": 53795 }, { "state": "Utah", "population": 3258370, "registered": 1857861, "votes_biden": 560282, "votes_trump": 865140, "votes_others": 62867, "pc_biden": 37.65, "pc_trump": 58.13, "pc_others": 4.22, "turnout_registered": 80.11, "turnout_population": 45.68, "gap": 20.48, "gpb_pc2018": 44636 }, { "state": "Vermont", "population": 623620, "registered": 495267, "votes_biden": 242820, "votes_trump": 112704, "votes_others": 11904, "pc_biden": 66.09, "pc_trump": 30.67, "pc_others": 3.24, "turnout_registered": 74.19, "turnout_population": 58.92, "gap": 35.41, "gpb_pc2018": 43946 }, { "state": "Virginia", "population": 8569750, "registered": 5975696, "votes_biden": 2413568, "votes_trump": 1962430, "votes_others": 84526, "pc_biden": 54.11, "pc_trump": 44, "pc_others": 1.89, "turnout_registered": 74.64, "turnout_population": 52.05, "gap": 10.11, "gpb_pc2018": 51736 }, { "state": "Washington", "population": 7705920, "registered": 4861482, "votes_biden": 2369612, "votes_trump": 1584651, "votes_others": 133368, "pc_biden": 57.97, "pc_trump": 38.77, "pc_others": 3.26, "turnout_registered": 84.08, "turnout_population": 53.05, "gap": 19.2, "gpb_pc2018": 56831 }, { "state": "West Virginia", "population": 1780000, "registered": 1268460, "votes_biden": 235984, "votes_trump": 545382, "votes_others": 13286, "pc_biden": 29.7, "pc_trump": 68.63, "pc_others": 1.67, "turnout_registered": 62.65, "turnout_population": 44.64, "gap": 38.94, "gpb_pc2018": 36315 }, { "state": "Wisconsin", "population": 5837460, "registered": 3684726, "votes_biden": 1630866, "votes_trump": 1610184, "votes_others": 56991, "pc_biden": 49.45, "pc_trump": 48.82, "pc_others": 1.73, "turnout_registered": 89.51, "turnout_population": 56.5, "gap": 0.63, "gpb_pc2018": 47266 }, { "state": "Wyoming", "population": 579917, "registered": 268837, "votes_biden": 73491, "votes_trump": 193559, "votes_others": 9715, "pc_biden": 26.55, "pc_trump": 69.94, "pc_others": 3.51, "turnout_registered": 102.95, "turnout_population": 47.72, "gap": 43.38, "gpb_pc2018": 58821 } ];