- Your life in data
- 2020 Decennial Census
Select an Area
2020 Decennial Census
Detail
Diversity Index *
2020 | 2010 | Change |
---|---|---|
65 | 54 | 11 |
* The USA TODAY diversity index shows on a scale of 0 to 100 how likely it is two people from an area would have a different race or ethnicity. A score of 0 would mean everyone had the same race and ethnicity; a score of 100 would mean everyone in an area had a distinctly different combination of race and ethnicity. Nearly everywhere is some place in the middle. The index was invented in 1991 by Phil Meyer of the University of North Carolina and Shawn McIntosh, who was then with USA TODAY. This score differs from the Census Bureau's version of the diversity index because of differences in how the bureau's formula counts race and Hispanic origin.
Population by Race/Ethnicity
2020 | 2010 | Change | ||||
---|---|---|---|---|---|---|
# | % | # | % | |||
Total | 278,468 | 247,336 | 12.6% | |||
Race | White | 170,245 | 61.1% | 172,156 | 69.6% | -1.1% |
Black | 52,156 | 18.7% | 50,282 | 20.3% | 3.7% | |
American Indian | 849 | 0.3% | 772 | 0.3% | 10.0% | |
Asian | 18,076 | 6.5% | 13,235 | 5.4% | 36.6% | |
Pacific Islander | 112 | 0.0% | 134 | 0.1% | -16.4% | |
Other | 9,522 | 3.4% | 4,211 | 1.7% | 126.1% | |
Two or More | 27,508 | 9.9% | 6,546 | 2.6% | 320.2% | |
Ethnicity | Hispanic or Latino | 33,614 | 12.1% | 20,752 | 8.4% | 62.0% |
Population by Race/Ethnicity: 18 Years and Over
2020 | 2010 | Change | ||||
---|---|---|---|---|---|---|
# | % | # | % | |||
Total | 227,905 | 203,051 | 12.2% | |||
Race | White | 146,223 | 64.2% | 147,098 | 72.4% | -0.6% |
Black | 38,366 | 16.8% | 36,611 | 18.0% | 4.8% | |
American Indian | 675 | 0.3% | 589 | 0.3% | 14.6% | |
Asian | 15,198 | 6.7% | 11,344 | 5.6% | 34.0% | |
Pacific Islander | 104 | 0.0% | 111 | 0.1% | -6.3% | |
Other | 7,471 | 3.3% | 3,261 | 1.6% | 129.1% | |
Two or More | 19,868 | 8.7% | 4,037 | 2.0% | 392.1% | |
Ethnicity | Hispanic or Latino | 26,433 | 11.6% | 16,743 | 8.2% | 57.9% |
Diversity Index *
2020 | 2010 | Change |
---|---|---|
65 | 54 | 11 |
* The USA TODAY diversity index shows on a scale of 0 to 100 how likely it is two people from an area would have a different race or ethnicity. A score of 0 would mean everyone had the same race and ethnicity; a score of 100 would mean everyone in an area had a distinctly different combination of race and ethnicity. Nearly everywhere is some place in the middle. The index was invented in 1991 by Phil Meyer of the University of North Carolina and Shawn McIntosh, who was then with USA TODAY. This score differs from the Census Bureau's version of the diversity index because of differences in how the bureau's formula counts race and Hispanic origin.
Housing Units
2020 | 2010 | Change | |||
---|---|---|---|---|---|
# | % | # | % | ||
Total Housing Units | 123,359 | 112,766 | 9.4% | ||
Occupied | 112,723 | 91.4% | 100,516 | 89.1% | 12.1% |
Vacant | 10,636 | 8.6% | 12,250 | 10.9% | -13.2% |
Population in Group Quarters
2020 | |
---|---|
Total Population in Group Quarters | 17,629 |
Institutionalized Population | 2,523 |
Correctional Facilities for Adults | 1,211 |
Juvenile Facilities | 60 |
Nursing Facilities/Skilled-nursing Facilities | 1,214 |
Other Institutional Facilities | 38 |
Noninstitutionalized Population | 15,106 |
College/University Student Housing | 13,316 |
Military Quarters | 0 |
Other Noninstitutional Facilities | 1,790 |
Map
Total Population Change
Less than -3%
-3% to 0%
0% to 3%
3% to 6%
6% to 9%
9% to 12%
12% to 15%
15% to 18%
More than 18%
N/A
1:500,000 scale
Other Areas in Alachua County, Florida
Total Population | Age 18 and Over | ||||||
Total Population | Age 18 and Over | ||||||
Area | Diversity Index | Total Population | Hispanic | Not Hispanic, White | Total Population | Hispanic | Not Hispanic, White |
---|---|---|---|---|---|---|---|
010 United States | 67 12 | 331,449,281 7.4% | 62,080,044 18.7% 23.0% | 191,697,647 57.8% -2.6% | 258,343,281 8.8% | 43,322,792 16.8% 19.9% | 157,118,573 60.8% 0.0% |
040-12 Florida | 75 16 | 21,538,187 14.6% | 5,697,240 26.5% 34.9% | 11,100,503 51.5% 2.0% | 17,339,232 17.2% | 4,332,685 25.0% 38.9% | 9,476,700 54.7% 4.6% |
050-12001 Alachua County, Florida | 65 11 | 278,468 12.6% | 33,614 12.1% 62.0% | 160,463 57.6% 1.9% | 227,905 12.2% | 26,433 11.6% 57.9% | 138,324 60.7% 2.5% |
140-12001000201 Census Tract 2.01, Alachua County, Florida | 66 10 | 4,348 32.4% | 775 17.8% 113.5% | 2,545 58.5% 28.0% | 3,989 29.4% | 731 18.3% 108.9% | 2,380 59.7% 22.4% |
140-12001000202 Census Tract 2.02, Alachua County, Florida | 57 11 | 4,782 15.3% | 717 15.0% 50.9% | 3,127 65.4% 6.1% | 4,393 9.3% | 650 14.8% 39.8% | 2,949 67.1% 1.0% |
140-12001000301 Census Tract 3.01, Alachua County, Florida | 68 14 | 3,384 2.3% | 472 13.9% 42.2% | 1,808 53.4% -12.3% | 2,974 4.1% | 399 13.4% 50.0% | 1,670 56.2% -12.7% |
140-12001000302 Census Tract 3.02, Alachua County, Florida | 68 9 | 2,644 -4.5% | 264 10.0% 26.3% | 1,334 50.5% -13.2% | 2,195 -1.3% | 217 9.9% 49.7% | 1,206 54.9% -11.5% |
140-12001000400 Census Tract 4, Alachua County, Florida | 64 8 | 5,330 -5.9% | 471 8.8% 58.6% | 1,588 29.8% -7.5% | 4,057 1.7% | 360 8.9% 71.4% | 1,388 34.2% -6.0% |
140-12001000500 Census Tract 5, Alachua County, Florida | 61 13 | 5,441 9.3% | 579 10.6% 95.6% | 3,383 62.2% -0.8% | 4,841 12.1% | 500 10.3% 100.8% | 3,114 64.3% 1.0% |
140-12001000600 Census Tract 6, Alachua County, Florida | 28 8 | 4,544 4.5% | 199 4.4% 109.5% | 260 5.7% 20.9% | 3,052 7.5% | 135 4.4% 150.0% | 230 7.5% 36.1% |
140-12001000700 Census Tract 7, Alachua County, Florida | 44 5 | 6,126 0.8% | 217 3.5% 44.7% | 1,120 18.3% 2.6% | 4,700 3.1% | 123 2.6% 21.8% | 997 21.2% 5.4% |
140-12001000806 Census Tract 8.06, Alachua County, Florida | 70 11 | 3,049 39.9% | 549 18.0% 101.8% | 1,624 53.3% 26.2% | 2,788 34.4% | 503 18.0% 92.0% | 1,526 54.7% 21.2% |
140-12001000808 Census Tract 8.08, Alachua County, Florida | 76 8 | 4,423 21.8% | 654 14.8% 80.7% | 1,897 42.9% 11.0% | 3,578 13.9% | 535 15.0% 77.7% | 1,688 47.2% 8.3% |
140-12001000809 Census Tract 8.09, Alachua County, Florida | 70 12 | 1,163 -14.7% | 160 13.8% 64.9% | 616 53.0% -23.5% | 1,091 -15.7% | 137 12.6% 52.2% | 604 55.4% -23.2% |
140-12001000901 Census Tract 9.01, Alachua County, Florida | 53 -10 | 3,173 9.8% | 416 13.1% 12.4% | 2,122 66.9% 37.5% | 2,985 8.7% | 380 12.7% 10.5% | 2,053 68.8% 36.3% |
140-12001000902 Census Tract 9.02, Alachua County, Florida | 47 -12 | 6,362 7.2% | 887 13.9% -13.3% | 4,578 72.0% 30.8% | 6,265 6.1% | 875 14.0% -14.3% | 4,515 72.1% 29.3% |
140-12001001000 Census Tract 10, Alachua County, Florida | 48 17 | 7,614 23.1% | 1,022 13.4% 58.7% | 5,659 74.3% 11.3% | 6,887 19.2% | 919 13.3% 51.7% | 5,122 74.4% 7.9% |
140-12001001100 Census Tract 11, Alachua County, Florida | 46 16 | 6,596 2.5% | 583 8.8% 52.2% | 5,022 76.1% -6.1% | 5,478 1.3% | 420 7.7% 42.4% | 4,360 79.6% -5.1% |
140-12001001201 Census Tract 12.01, Alachua County, Florida | 58 12 | 2,888 -0.6% | 323 11.2% 25.7% | 1,885 65.3% -8.8% | 2,326 0.4% | 219 9.4% 17.7% | 1,605 69.0% -6.4% |
140-12001001202 Census Tract 12.02, Alachua County, Florida | 64 14 | 7,443 7.7% | 967 13.0% 36.6% | 4,514 60.6% -3.9% | 6,017 9.9% | 745 12.4% 41.6% | 3,822 63.5% -1.8% |
140-12001001203 Census Tract 12.03, Alachua County, Florida | 67 15 | 3,881 6.1% | 538 13.9% 92.1% | 2,170 55.9% -10.0% | 3,205 7.2% | 419 13.1% 78.3% | 1,930 60.2% -8.8% |
140-12001001400 Census Tract 14, Alachua County, Florida | 64 9 | 3,882 -15.3% | 479 12.3% 146.9% | 1,526 39.3% -10.2% | 3,274 -16.7% | 453 13.8% 192.3% | 1,398 42.7% -12.0% |
140-12001001514 Census Tract 15.14, Alachua County, Florida | 70 6 | 1,928 50.5% | 347 18.0% 77.0% | 1,028 53.3% 56.7% | 1,772 45.0% | 314 17.7% 71.6% | 994 56.1% 55.1% |
140-12001001515 Census Tract 15.15, Alachua County, Florida | 77 10 | 7,427 17.1% | 1,384 18.6% 44.3% | 3,251 43.8% 4.6% | 6,728 13.2% | 1,257 18.7% 39.5% | 3,080 45.8% 1.5% |
140-12001001516 Census Tract 15.16, Alachua County, Florida | 77 16 | 2,714 26.3% | 499 18.4% 77.0% | 1,168 43.0% -5.1% | 2,457 22.4% | 443 18.0% 68.4% | 1,107 45.1% -7.1% |
140-12001001517 Census Tract 15.17, Alachua County, Florida | 78 11 | 5,730 21.0% | 958 16.7% 44.5% | 2,304 40.2% -0.6% | 5,016 13.8% | 829 16.5% 30.6% | 2,122 42.3% -3.9% |
140-12001001519 Census Tract 15.19, Alachua County, Florida | 78 8 | 2,623 2.5% | 439 16.7% 21.6% | 838 31.9% -25.5% | 2,372 -3.9% | 360 15.2% 3.4% | 781 32.9% -27.8% |
140-12001001522 Census Tract 15.22, Alachua County, Florida | 78 13 | 9,216 39.6% | 1,860 20.2% 89.2% | 3,877 42.1% 13.0% | 8,142 35.3% | 1,634 20.1% 85.9% | 3,622 44.5% 10.2% |
140-12001001605 Census Tract 16.05, Alachua County, Florida | 69 18 | 10,468 17.4% | 2,085 19.9% 73.0% | 5,863 56.0% -2.0% | 9,473 14.3% | 1,826 19.3% 61.3% | 5,473 57.8% -2.9% |
140-12001001701 Census Tract 17.01, Alachua County, Florida | 61 11 | 6,859 16.4% | 822 12.0% 57.8% | 4,256 62.0% 7.1% | 5,768 18.8% | 639 11.1% 64.3% | 3,794 65.8% 9.5% |
140-12001001702 Census Tract 17.02, Alachua County, Florida | 49 18 | 5,104 7.8% | 525 10.3% 76.2% | 3,809 74.6% -2.3% | 4,075 3.2% | 343 8.4% 42.3% | 3,162 77.6% -4.5% |
140-12001001802 Census Tract 18.02, Alachua County, Florida | 65 11 | 2,960 0.8% | 258 8.7% 51.8% | 1,535 51.9% -12.0% | 2,280 1.5% | 186 8.2% 69.1% | 1,328 58.2% -8.7% |
140-12001001803 Census Tract 18.03, Alachua County, Florida | 65 12 | 6,285 -1.1% | 647 10.3% 28.1% | 3,561 56.7% -11.8% | 5,025 1.5% | 453 9.0% 22.1% | 3,062 60.9% -7.9% |
140-12001001811 Census Tract 18.11, Alachua County, Florida | 58 14 | 6,294 2.0% | 628 10.0% 24.9% | 4,212 66.9% -6.5% | 5,195 2.2% | 490 9.4% 33.9% | 3,620 69.7% -5.9% |
140-12001001813 Census Tract 18.13, Alachua County, Florida | 56 25 | 3,883 45.9% | 337 8.7% 130.8% | 2,615 67.3% 19.4% | 2,976 41.2% | 226 7.6% 128.3% | 2,088 70.2% 17.2% |
140-12001001815 Census Tract 18.15, Alachua County, Florida | 38 12 | 1,896 -3.2% | 161 8.5% 57.8% | 1,524 80.4% -8.6% | 1,543 -0.4% | 113 7.3% 56.9% | 1,261 81.7% -5.4% |
140-12001001816 Census Tract 18.16, Alachua County, Florida | 54 10 | 6,396 15.6% | 580 9.1% 52.2% | 4,334 67.8% 9.8% | 4,967 17.0% | 386 7.8% 47.9% | 3,493 70.3% 12.4% |
140-12001001817 Census Tract 18.17, Alachua County, Florida | 52 17 | 4,613 12.3% | 462 10.0% 94.9% | 3,294 71.4% 0.8% | 3,695 15.3% | 345 9.3% 105.4% | 2,763 74.8% 4.6% |
140-12001001818 Census Tract 18.18, Alachua County, Florida | 43 10 | 5,548 10.0% | 455 8.2% 44.9% | 4,284 77.2% 5.5% | 4,256 10.3% | 297 7.0% 44.2% | 3,382 79.5% 6.5% |
140-12001001819 Census Tract 18.19, Alachua County, Florida | 57 18 | 4,633 27.6% | 571 12.3% 86.0% | 3,134 67.6% 12.1% | 3,618 30.1% | 405 11.2% 97.6% | 2,586 71.5% 16.3% |
140-12001001902 Census Tract 19.02, Alachua County, Florida | 64 7 | 3,378 1.9% | 295 8.7% 82.1% | 1,116 33.0% 2.2% | 2,539 3.9% | 198 7.8% 86.8% | 1,007 39.7% 0.3% |
140-12001001907 Census Tract 19.07, Alachua County, Florida | 39 13 | 2,529 -3.5% | 146 5.8% 124.6% | 1,959 77.5% -12.3% | 2,128 0.1% | 104 4.9% 153.7% | 1,713 80.5% -8.1% |
140-12001001908 Census Tract 19.08, Alachua County, Florida | 56 12 | 4,718 0.4% | 330 7.0% 182.1% | 3,020 64.0% -8.9% | 3,813 1.6% | 254 6.7% 206.0% | 2,560 67.1% -7.3% |
140-12001002001 Census Tract 20.01, Alachua County, Florida | 35 4 | 1,528 -14.6% | 86 5.6% 32.3% | 1,240 81.2% -15.7% | 1,241 -14.3% | 46 3.7% 0.0% | 1,028 82.8% -15.2% |
140-12001002002 Census Tract 20.02, Alachua County, Florida | 52 10 | 3,787 -2.1% | 181 4.8% 60.2% | 2,459 64.9% -11.8% | 2,983 -5.0% | 122 4.1% 50.6% | 2,051 68.8% -12.0% |
140-12001002101 Census Tract 21.01, Alachua County, Florida | 45 10 | 1,905 3.5% | 95 5.0% 79.2% | 1,420 74.5% -2.4% | 1,614 2.5% | 85 5.3% 102.4% | 1,223 75.8% -3.6% |
140-12001002102 Census Tract 21.02, Alachua County, Florida | 36 1 | 939 2.0% | 34 3.6% 25.9% | 752 80.1% 3.2% | 804 5.4% | 28 3.5% 75.0% | 655 81.5% 6.9% |
140-12001002201 Census Tract 22.01, Alachua County, Florida | 56 18 | 5,676 22.8% | 513 9.0% 64.4% | 3,810 67.1% 6.2% | 4,195 20.3% | 299 7.1% 43.8% | 2,991 71.3% 7.0% |
140-12001002202 Census Tract 22.02, Alachua County, Florida | 50 16 | 6,602 21.1% | 635 9.6% 92.4% | 4,769 72.2% 9.9% | 5,019 17.6% | 409 8.1% 72.6% | 3,746 74.6% 8.4% |
140-12001002204 Census Tract 22.04, Alachua County, Florida | 59 15 | 12,048 20.6% | 1,336 11.1% 41.5% | 7,895 65.5% 7.9% | 9,140 22.7% | 918 10.0% 41.7% | 6,247 68.3% 11.0% |
140-12001002207 Census Tract 22.07, Alachua County, Florida | 61 22 | 3,857 2.4% | 371 9.6% 57.2% | 2,451 63.5% -15.0% | 2,993 5.0% | 259 8.7% 52.4% | 1,994 66.6% -10.5% |
140-12001002208 Census Tract 22.08, Alachua County, Florida | 54 18 | 2,961 13.9% | 326 11.0% 85.2% | 2,083 70.3% 1.7% | 2,261 15.7% | 211 9.3% 78.8% | 1,652 73.1% 5.4% |
140-12001002209 Census Tract 22.09, Alachua County, Florida | 60 15 | 9,006 18.2% | 840 9.3% 60.3% | 5,730 63.6% 4.4% | 6,855 20.5% | 575 8.4% 74.2% | 4,553 66.4% 7.0% |
140-12001002210 Census Tract 22.10, Alachua County, Florida | 59 15 | 5,234 21.1% | 649 12.4% 106.0% | 3,363 64.3% 7.0% | 3,900 19.9% | 452 11.6% 127.1% | 2,635 67.6% 7.1% |
140-12001002217 Census Tract 22.17, Alachua County, Florida | 71 5 | 6,539 17.8% | 1,030 15.8% 59.4% | 1,941 29.7% -7.3% | 4,649 17.4% | 721 15.5% 54.1% | 1,605 34.5% -9.2% |
140-12001002218 Census Tract 22.18, Alachua County, Florida | 70 6 | 2,501 16.4% | 383 15.3% 112.8% | 742 29.7% -3.3% | 1,730 15.0% | 256 14.8% 101.6% | 601 34.7% -8.0% |
140-12001002219 Census Tract 22.19, Alachua County, Florida | 78 15 | 6,717 21.7% | 1,240 18.5% 97.5% | 2,739 40.8% -7.5% | 5,196 19.6% | 909 17.5% 99.8% | 2,382 45.8% -7.5% |
140-12001002220 Census Tract 22.20, Alachua County, Florida | 70 14 | 2,815 31.9% | 436 15.5% 159.5% | 1,463 52.0% 17.1% | 2,169 33.8% | 302 13.9% 187.6% | 1,222 56.3% 18.2% |
140-12001002221 Census Tract 22.21, Alachua County, Florida | 58 17 | 5,281 17.6% | 607 11.5% 89.7% | 3,491 66.1% 2.6% | 4,107 20.9% | 451 11.0% 96.9% | 2,824 68.8% 7.3% |
140-12001002222 Census Tract 22.22, Alachua County, Florida | 53 25 | 6,789 31.4% | 660 9.7% 115.0% | 4,807 70.8% 11.1% | 5,276 30.3% | 453 8.6% 88.0% | 3,920 74.3% 13.9% |
140-12001110800 Census Tract 1108, Alachua County, Florida | 42 14 | 2,008 -1.1% | 131 6.5% 5.6% | 1,548 77.1% -10.0% | 1,840 -0.2% | 115 6.2% 11.7% | 1,440 78.3% -9.3% |
Status of sex offenders in Florida
Source: U.S. Census Bureau
* Because tract and legislative district boundaries have changed in some cases, USA TODAY estimated 2020 tract and legislative district population counts based on their new boundaries for consistency.
Total Population Change
'+feature.properties.total_ypc+'%
'; popupContent += '
More
'; return popupContent;}// thisgeo = 2020-050-12001function Gon2Line(val){ if (val['type'] == 'Polygon') { return {"type":"FeatureCollection", "features":[{"type":"Feature", "geometry":{ type: "LineString", coordinates: val['coordinates'][0]}, "properties":{}} ]}; } else { var rd = {"type":"FeatureCollection", "features":[]}; for (let i = 0; i < val['coordinates'].length; i++){ rd["features"].push({"type":"Feature", "id":i, "geometry":{ type: "MultiLineString", coordinates: val['coordinates'][i]}, "properties":{"id":i}}) } return rd; }}mapboxgl.accessToken = 'pk.eyJ1IjoieXB5dW4iLCJhIjoiY2oxcW4ybWhxMDBkMjJxcGVhbDV5cnpzYyJ9.oFQSnOc57xCR7A51OR6-3w';var map = new mapboxgl.Map({ container: 'uscntymap', // container id style: 'mapbox://styles/ypyun/cj83a8ga5abkq2sqpivw3nrzg', //'mapbox://styles/mapbox/streets-v11', // stylesheet location center: [-77.3165, 38.8236], // starting position [lng, lat] zoom: 9, // starting zoom attributionControl: false,});map.addControl(new mapboxgl.AttributionControl({ compact: false, customAttribution:[] }));var stopvar = [[-3,'#FF0014'],[0,'#FF3C14'],[3,'#FF7814'],[6,'#FFB414'],[9,'#C5ED11'],[12,'#8BEB0E'],[15,'#51E80B'],[18,'#18E609'] ];//var G2020_010 = [[[[-125.0011, 24.9493],[-66.9326, 49.5904]]]];var sJSON = {"type":"FeatureCollection", "features":[ {"type":"Feature","geometry": G2020_140_12001000201,"properties":{ "geot__geoid":"12001000201","geot__namelsad":"Census Tract 2.01, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001000201","pmk":"140-12001000201","total_ypc":32.4, } }, {"type":"Feature","geometry": G2020_140_12001000202,"properties":{ "geot__geoid":"12001000202","geot__namelsad":"Census Tract 2.02, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001000202","pmk":"140-12001000202","total_ypc":15.3, } }, {"type":"Feature","geometry": G2020_140_12001000301,"properties":{ "geot__geoid":"12001000301","geot__namelsad":"Census Tract 3.01, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000301","geot__pmk":"2020-140-12001000301","pmk":"140-12001000301","total_ypc":2.3, } }, {"type":"Feature","geometry": G2020_140_12001000302,"properties":{ "geot__geoid":"12001000302","geot__namelsad":"Census Tract 3.02, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000302","geot__pmk":"2020-140-12001000302","pmk":"140-12001000302","total_ypc":-4.5, } }, {"type":"Feature","geometry": G2020_140_12001000400,"properties":{ "geot__geoid":"12001000400","geot__namelsad":"Census Tract 4, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000400","geot__pmk":"2020-140-12001000400","pmk":"140-12001000400","total_ypc":-5.9, } }, {"type":"Feature","geometry": G2020_140_12001000500,"properties":{ "geot__geoid":"12001000500","geot__namelsad":"Census Tract 5, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000500","geot__pmk":"2020-140-12001000500","pmk":"140-12001000500","total_ypc":9.3, } }, {"type":"Feature","geometry": G2020_140_12001000600,"properties":{ "geot__geoid":"12001000600","geot__namelsad":"Census Tract 6, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000600","geot__pmk":"2020-140-12001000600","pmk":"140-12001000600","total_ypc":4.5, } }, {"type":"Feature","geometry": G2020_140_12001000700,"properties":{ "geot__geoid":"12001000700","geot__namelsad":"Census Tract 7, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000700","geot__pmk":"2020-140-12001000700","pmk":"140-12001000700","total_ypc":0.8, } }, {"type":"Feature","geometry": G2020_140_12001000806,"properties":{ "geot__geoid":"12001000806","geot__namelsad":"Census Tract 8.06, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000806","geot__pmk":"2020-140-12001000806","pmk":"140-12001000806","total_ypc":39.9, } }, {"type":"Feature","geometry": G2020_140_12001000808,"properties":{ "geot__geoid":"12001000808","geot__namelsad":"Census Tract 8.08, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000808","geot__pmk":"2020-140-12001000808","pmk":"140-12001000808","total_ypc":21.8, } }, {"type":"Feature","geometry": G2020_140_12001000809,"properties":{ "geot__geoid":"12001000809","geot__namelsad":"Census Tract 8.09, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000809","geot__pmk":"2020-140-12001000809","pmk":"140-12001000809","total_ypc":-14.7, } }, {"type":"Feature","geometry": G2020_140_12001000901,"properties":{ "geot__geoid":"12001000901","geot__namelsad":"Census Tract 9.01, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000901","geot__pmk":"2020-140-12001000901","pmk":"140-12001000901","total_ypc":9.8, } }, {"type":"Feature","geometry": G2020_140_12001000902,"properties":{ "geot__geoid":"12001000902","geot__namelsad":"Census Tract 9.02, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001000902","geot__pmk":"2020-140-12001000902","pmk":"140-12001000902","total_ypc":7.2, } }, {"type":"Feature","geometry": G2020_140_12001001000,"properties":{ "geot__geoid":"12001001000","geot__namelsad":"Census Tract 10, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001000","geot__pmk":"2020-140-12001001000","pmk":"140-12001001000","total_ypc":23.1, } }, {"type":"Feature","geometry": G2020_140_12001001100,"properties":{ "geot__geoid":"12001001100","geot__namelsad":"Census Tract 11, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001100","geot__pmk":"2020-140-12001001100","pmk":"140-12001001100","total_ypc":2.5, } }, {"type":"Feature","geometry": G2020_140_12001001201,"properties":{ "geot__geoid":"12001001201","geot__namelsad":"Census Tract 12.01, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001201","geot__pmk":"2020-140-12001001201","pmk":"140-12001001201","total_ypc":-0.6, } }, {"type":"Feature","geometry": G2020_140_12001001202,"properties":{ "geot__geoid":"12001001202","geot__namelsad":"Census Tract 12.02, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001202","geot__pmk":"2020-140-12001001202","pmk":"140-12001001202","total_ypc":7.7, } }, {"type":"Feature","geometry": G2020_140_12001001203,"properties":{ "geot__geoid":"12001001203","geot__namelsad":"Census Tract 12.03, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001203","geot__pmk":"2020-140-12001001203","pmk":"140-12001001203","total_ypc":6.1, } }, {"type":"Feature","geometry": G2020_140_12001001400,"properties":{ "geot__geoid":"12001001400","geot__namelsad":"Census Tract 14, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001400","geot__pmk":"2020-140-12001001400","pmk":"140-12001001400","total_ypc":-15.3, } }, {"type":"Feature","geometry": G2020_140_12001001514,"properties":{ "geot__geoid":"12001001514","geot__namelsad":"Census Tract 15.14, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001514","geot__pmk":"2020-140-12001001514","pmk":"140-12001001514","total_ypc":50.5, } }, {"type":"Feature","geometry": G2020_140_12001001515,"properties":{ "geot__geoid":"12001001515","geot__namelsad":"Census Tract 15.15, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001515","geot__pmk":"2020-140-12001001515","pmk":"140-12001001515","total_ypc":17.1, } }, {"type":"Feature","geometry": G2020_140_12001001516,"properties":{ "geot__geoid":"12001001516","geot__namelsad":"Census Tract 15.16, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001516","geot__pmk":"2020-140-12001001516","pmk":"140-12001001516","total_ypc":26.3, } }, {"type":"Feature","geometry": G2020_140_12001001517,"properties":{ "geot__geoid":"12001001517","geot__namelsad":"Census Tract 15.17, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001517","geot__pmk":"2020-140-12001001517","pmk":"140-12001001517","total_ypc":21.0, } }, {"type":"Feature","geometry": G2020_140_12001001519,"properties":{ "geot__geoid":"12001001519","geot__namelsad":"Census Tract 15.19, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001519","geot__pmk":"2020-140-12001001519","pmk":"140-12001001519","total_ypc":2.5, } }, {"type":"Feature","geometry": G2020_140_12001001522,"properties":{ "geot__geoid":"12001001522","geot__namelsad":"Census Tract 15.22, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001001522","pmk":"140-12001001522","total_ypc":39.6, } }, {"type":"Feature","geometry": G2020_140_12001001605,"properties":{ "geot__geoid":"12001001605","geot__namelsad":"Census Tract 16.05, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001001605","pmk":"140-12001001605","total_ypc":17.4, } }, {"type":"Feature","geometry": G2020_140_12001001701,"properties":{ "geot__geoid":"12001001701","geot__namelsad":"Census Tract 17.01, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001701","geot__pmk":"2020-140-12001001701","pmk":"140-12001001701","total_ypc":16.4, } }, {"type":"Feature","geometry": G2020_140_12001001702,"properties":{ "geot__geoid":"12001001702","geot__namelsad":"Census Tract 17.02, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001702","geot__pmk":"2020-140-12001001702","pmk":"140-12001001702","total_ypc":7.8, } }, {"type":"Feature","geometry": G2020_140_12001001802,"properties":{ "geot__geoid":"12001001802","geot__namelsad":"Census Tract 18.02, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001802","geot__pmk":"2020-140-12001001802","pmk":"140-12001001802","total_ypc":0.8, } }, {"type":"Feature","geometry": G2020_140_12001001803,"properties":{ "geot__geoid":"12001001803","geot__namelsad":"Census Tract 18.03, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001803","geot__pmk":"2020-140-12001001803","pmk":"140-12001001803","total_ypc":-1.1, } }, {"type":"Feature","geometry": G2020_140_12001001811,"properties":{ "geot__geoid":"12001001811","geot__namelsad":"Census Tract 18.11, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001811","geot__pmk":"2020-140-12001001811","pmk":"140-12001001811","total_ypc":2.0, } }, {"type":"Feature","geometry": G2020_140_12001001813,"properties":{ "geot__geoid":"12001001813","geot__namelsad":"Census Tract 18.13, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001813","geot__pmk":"2020-140-12001001813","pmk":"140-12001001813","total_ypc":45.9, } }, {"type":"Feature","geometry": G2020_140_12001001815,"properties":{ "geot__geoid":"12001001815","geot__namelsad":"Census Tract 18.15, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001001815","pmk":"140-12001001815","total_ypc":-3.2, } }, {"type":"Feature","geometry": G2020_140_12001001816,"properties":{ "geot__geoid":"12001001816","geot__namelsad":"Census Tract 18.16, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001001816","pmk":"140-12001001816","total_ypc":15.6, } }, {"type":"Feature","geometry": G2020_140_12001001817,"properties":{ "geot__geoid":"12001001817","geot__namelsad":"Census Tract 18.17, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001001817","pmk":"140-12001001817","total_ypc":12.3, } }, {"type":"Feature","geometry": G2020_140_12001001818,"properties":{ "geot__geoid":"12001001818","geot__namelsad":"Census Tract 18.18, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001001818","pmk":"140-12001001818","total_ypc":10.0, } }, {"type":"Feature","geometry": G2020_140_12001001819,"properties":{ "geot__geoid":"12001001819","geot__namelsad":"Census Tract 18.19, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001001819","pmk":"140-12001001819","total_ypc":27.6, } }, {"type":"Feature","geometry": G2020_140_12001001902,"properties":{ "geot__geoid":"12001001902","geot__namelsad":"Census Tract 19.02, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001902","geot__pmk":"2020-140-12001001902","pmk":"140-12001001902","total_ypc":1.9, } }, {"type":"Feature","geometry": G2020_140_12001001907,"properties":{ "geot__geoid":"12001001907","geot__namelsad":"Census Tract 19.07, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001907","geot__pmk":"2020-140-12001001907","pmk":"140-12001001907","total_ypc":-3.5, } }, {"type":"Feature","geometry": G2020_140_12001001908,"properties":{ "geot__geoid":"12001001908","geot__namelsad":"Census Tract 19.08, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001001908","geot__pmk":"2020-140-12001001908","pmk":"140-12001001908","total_ypc":0.4, } }, {"type":"Feature","geometry": G2020_140_12001002001,"properties":{ "geot__geoid":"12001002001","geot__namelsad":"Census Tract 20.01, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001002001","pmk":"140-12001002001","total_ypc":-14.6, } }, {"type":"Feature","geometry": G2020_140_12001002002,"properties":{ "geot__geoid":"12001002002","geot__namelsad":"Census Tract 20.02, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001002002","pmk":"140-12001002002","total_ypc":-2.1, } }, {"type":"Feature","geometry": G2020_140_12001002101,"properties":{ "geot__geoid":"12001002101","geot__namelsad":"Census Tract 21.01, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002101","geot__pmk":"2020-140-12001002101","pmk":"140-12001002101","total_ypc":3.5, } }, {"type":"Feature","geometry": G2020_140_12001002102,"properties":{ "geot__geoid":"12001002102","geot__namelsad":"Census Tract 21.02, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002102","geot__pmk":"2020-140-12001002102","pmk":"140-12001002102","total_ypc":2.0, } }, {"type":"Feature","geometry": G2020_140_12001002201,"properties":{ "geot__geoid":"12001002201","geot__namelsad":"Census Tract 22.01, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002201","geot__pmk":"2020-140-12001002201","pmk":"140-12001002201","total_ypc":22.8, } }, {"type":"Feature","geometry": G2020_140_12001002202,"properties":{ "geot__geoid":"12001002202","geot__namelsad":"Census Tract 22.02, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002202","geot__pmk":"2020-140-12001002202","pmk":"140-12001002202","total_ypc":21.1, } }, {"type":"Feature","geometry": G2020_140_12001002204,"properties":{ "geot__geoid":"12001002204","geot__namelsad":"Census Tract 22.04, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002204","geot__pmk":"2020-140-12001002204","pmk":"140-12001002204","total_ypc":20.6, } }, {"type":"Feature","geometry": G2020_140_12001002207,"properties":{ "geot__geoid":"12001002207","geot__namelsad":"Census Tract 22.07, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002207","geot__pmk":"2020-140-12001002207","pmk":"140-12001002207","total_ypc":2.4, } }, {"type":"Feature","geometry": G2020_140_12001002208,"properties":{ "geot__geoid":"12001002208","geot__namelsad":"Census Tract 22.08, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002208","geot__pmk":"2020-140-12001002208","pmk":"140-12001002208","total_ypc":13.9, } }, {"type":"Feature","geometry": G2020_140_12001002209,"properties":{ "geot__geoid":"12001002209","geot__namelsad":"Census Tract 22.09, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002209","geot__pmk":"2020-140-12001002209","pmk":"140-12001002209","total_ypc":18.2, } }, {"type":"Feature","geometry": G2020_140_12001002210,"properties":{ "geot__geoid":"12001002210","geot__namelsad":"Census Tract 22.10, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002210","geot__pmk":"2020-140-12001002210","pmk":"140-12001002210","total_ypc":21.1, } }, {"type":"Feature","geometry": G2020_140_12001002217,"properties":{ "geot__geoid":"12001002217","geot__namelsad":"Census Tract 22.17, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002217","geot__pmk":"2020-140-12001002217","pmk":"140-12001002217","total_ypc":17.8, } }, {"type":"Feature","geometry": G2020_140_12001002218,"properties":{ "geot__geoid":"12001002218","geot__namelsad":"Census Tract 22.18, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002218","geot__pmk":"2020-140-12001002218","pmk":"140-12001002218","total_ypc":16.4, } }, {"type":"Feature","geometry": G2020_140_12001002219,"properties":{ "geot__geoid":"12001002219","geot__namelsad":"Census Tract 22.19, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002219","geot__pmk":"2020-140-12001002219","pmk":"140-12001002219","total_ypc":21.7, } }, {"type":"Feature","geometry": G2020_140_12001002220,"properties":{ "geot__geoid":"12001002220","geot__namelsad":"Census Tract 22.20, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001002220","geot__pmk":"2020-140-12001002220","pmk":"140-12001002220","total_ypc":31.9, } }, {"type":"Feature","geometry": G2020_140_12001002221,"properties":{ "geot__geoid":"12001002221","geot__namelsad":"Census Tract 22.21, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001002221","pmk":"140-12001002221","total_ypc":17.6, } }, {"type":"Feature","geometry": G2020_140_12001002222,"properties":{ "geot__geoid":"12001002222","geot__namelsad":"Census Tract 22.22, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-12001002222","pmk":"140-12001002222","total_ypc":31.4, } }, {"type":"Feature","geometry": G2020_140_12001110800,"properties":{ "geot__geoid":"12001110800","geot__namelsad":"Census Tract 1108, Alachua County, Florida","geot__sumlevel":"140","geop__pmk":"2010-140-12001110800","geot__pmk":"2020-140-12001110800","pmk":"140-12001110800","total_ypc":-1.1, } }, ]};var pJSON = {"type":"FeatureCollection", "features":[ {"type":"Feature","geometry": G2020_060_1200191248,"properties":{ "geot__geoid":"1200191248","geot__namelsad":"Gainesville CCD, Alachua County, Florida","geot__sumlevel":"060","geop__pmk":"2010-060-1200191248","geot__pmk":"2020-060-1200191248","pmk":"060-1200191248","total_ypc":13.3, } }, {"type":"Feature","geometry": G2020_060_1200191469,"properties":{ "geot__geoid":"1200191469","geot__namelsad":"Hawthorne CCD, Alachua County, Florida","geot__sumlevel":"060","geop__pmk":"2010-060-1200191469","geot__pmk":"2020-060-1200191469","pmk":"060-1200191469","total_ypc":-6.0, } }, {"type":"Feature","geometry": G2020_060_1200191495,"properties":{ "geot__geoid":"1200191495","geot__namelsad":"High Springs-Alachua CCD, Alachua County, Florida","geot__sumlevel":"060","geop__pmk":"2010-060-1200191495","geot__pmk":"2020-060-1200191495","pmk":"060-1200191495","total_ypc":10.7, } }, {"type":"Feature","geometry": G2020_060_1200192184,"properties":{ "geot__geoid":"1200192184","geot__namelsad":"Micanopy CCD, Alachua County, Florida","geot__sumlevel":"060","geop__pmk":"2010-060-1200192184","geot__pmk":"2020-060-1200192184","pmk":"060-1200192184","total_ypc":3.1, } }, {"type":"Feature","geometry": G2020_060_1200192314,"properties":{ "geot__geoid":"1200192314","geot__namelsad":"Newberry-Archer CCD, Alachua County, Florida","geot__sumlevel":"060","geop__pmk":"2010-060-1200192314","geot__pmk":"2020-060-1200192314","pmk":"060-1200192314","total_ypc":20.4, } }, {"type":"Feature","geometry": G2020_060_1200193536,"properties":{ "geot__geoid":"1200193536","geot__namelsad":"Waldo CCD, Alachua County, Florida","geot__sumlevel":"060","geop__pmk":"2010-060-1200193536","geot__pmk":"2020-060-1200193536","pmk":"060-1200193536","total_ypc":-1.0, } }, ]};// aaaa map.on('load', function () { var layers = map.getStyle().layers; var firstSymbolId; for (var i = 0; i < layers.length; i++) { if (layers[i].type === 'symbol') { firstSymbolId = layers[i].id; break; } } //map.addSource("CensusSL",{ "type": "geojson", "data":'/media/jsons/census/d/010/010.json' }); "source": "CensusSL", /"filter": ["any",[">=", "total_ypc", 0]], map.addLayer({"id": "census_main_layer", "type": "fill", "source": { "type": "geojson", "data":sJSON }, 'layout': {'visibility': "visible"}, "paint": {'fill-color': {property: 'total_ypc', stops: stopvar},'fill-opacity':0.8, 'fill-outline-color': '#666666',}}, firstSymbolId); map.on('click', 'census_main_layer', function (e) {new mapboxgl.Popup({ offset: 14 }).setLngLat(e.lngLat).setHTML(onCensusAllFeature(e.features[0])).addTo(map);}); map.on('mouseenter', 'census_main_layer', function () {map.getCanvas().style.cursor = 'pointer';}); map.on('mouseleave', 'census_main_layer', function () {map.getCanvas().style.cursor = '';}); map.addLayer({"id": "census_cousub_layer", "type": "fill", "source": { "type": "geojson", "data":pJSON }, 'layout': {'visibility': "none"}, "paint": {'fill-color': {property: 'total_ypc', stops: stopvar},'fill-opacity':0.8, 'fill-outline-color': '#666666',}}, firstSymbolId); map.on('click', 'census_cousub_layer', function (e) {new mapboxgl.Popup({ offset: 14 }).setLngLat(e.lngLat).setHTML(onCensusAllFeature(e.features[0])).addTo(map);}); map.on('mouseenter', 'census_cousub_layer', function () {map.getCanvas().style.cursor = 'pointer';}); map.on('mouseleave', 'census_cousub_layer', function () {map.getCanvas().style.cursor = '';}); map.addLayer({'id': 'areaBoundary', 'type': 'line', 'source': { "type": "geojson", "data":Gon2Line(G2020_050_12001) }, 'layout': { 'line-join': 'round', 'line-cap': 'round' }, 'paint': { 'line-color': '#288499', 'line-width': 4 } }, firstSymbolId); }); var toggleableLayerIds = [['census_main_layer','Tract'],['census_cousub_layer','City/Town'] ]; for (var i = 0; i < toggleableLayerIds.length; i++) { var id = toggleableLayerIds[i][0]; if (id === 'census_main_layer'){ var otrid = 'census_cousub_layer';} else {var otrid = 'census_main_layer';} var idstr = toggleableLayerIds[i][1]; var link = document.createElement('a'); link.href = '#'; if(i == 0){link.className = 'active';}else{link.className = 'notactive';} link.tgid = id; link.oid = otrid; link.textContent = idstr; link.setAttribute("id",id+'_id') link.onclick = function (e) { var clickedLayer = this.tgid; var anotherLayer = this.oid; e.preventDefault(); e.stopPropagation(); var visibility = map.getLayoutProperty(clickedLayer, 'visibility'); $('.active').each(function() {$(this).removeClass().addClass( "notactive" ); });// $('#ue_county_id').removeClass().addClass( "notactive" );// $('#ue_state_id').removeClass().addClass( "notactive" ); this.className = 'active'; for (tli of toggleableLayerIds) {if(tli[0] != this.tgid){map.setLayoutProperty(tli[0], 'visibility', 'none')}} map.setLayoutProperty(clickedLayer, 'visibility', 'visible');// map.setLayoutProperty(anotherLayer, 'visibility', 'none'); }; var layers = document.getElementById('mapmenu'); layers.appendChild(link);}function getBoundary(ggs){ if (ggs['type'] == 'Polygon'){ return [ggs['coordinates']] } else { return ggs['coordinates'] }}var BounceLine = getBoundary(G2020_050_12001); var bounds = new mapboxgl.LngLatBounds();BounceLine.forEach(function(Tpolygon) { Tpolygon.forEach(function(Tline){ Tline.forEach(function(Tpoint){bounds.extend(Tpoint); }) }) });//plvb: dcg object (2020-050-12001)map.fitBounds(bounds, { padding: 120 });map.addControl(new mapboxgl.NavigationControl(), 'top-left');