Hamilton County, Indiana Demographics and Housing 2020 Decennial Census (2024)

  1. Your life in data
  2. 2020 Decennial Census

Select an Area

2020 Decennial Census

Detail

Diversity Index *

* 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

20202010Change
#%#%
Total347,467274,57026.5%
RaceWhite278,96880.3%242,98588.5%14.8%
Black14,9934.3%9,6033.5%56.1%
American Indian6710.2%5290.2%26.8%
Asian23,5956.8%13,1754.8%79.1%
Pacific Islander1400.0%970.0%44.3%
Other6,5361.9%3,2701.2%99.9%
Two or More22,5646.5%4,9091.8%359.6%
EthnicityHispanic or Latino18,1065.2%9,4263.4%92.1%

Population by Race/Ethnicity: 18 Years and Over

20202010Change
#%#%
Total253,195191,63332.1%
RaceWhite208,45382.3%172,41690.0%20.9%
Black10,5554.2%6,3023.3%67.5%
American Indian4610.2%3600.2%28.1%
Asian16,8366.6%8,8214.6%90.9%
Pacific Islander910.0%690.0%31.9%
Other4,2231.7%1,8741.0%125.3%
Two or More12,5765.0%1,7890.9%603.0%
EthnicityHispanic or Latino11,2164.4%5,5252.9%103.0%

Diversity Index *

20202010Change
392514

* 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

20202010Change
#%#%
Total Housing Units135,064106,77226.5%
Occupied128,47595.1%99,83593.5%28.7%
Vacant6,5894.9%6,9376.5%-5.0%

Population in Group Quarters

2020
Total Population in Group Quarters2,601
Institutionalized Population2,332
Correctional Facilities for Adults289
Juvenile Facilities19
Nursing Facilities/Skilled-nursing Facilities2,024
Other Institutional Facilities0
Noninstitutionalized Population269
College/University Student Housing78
Military Quarters0
Other Noninstitutional Facilities191

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 Hamilton County, Indiana

RaceEthnicity
AreaTotalWhiteBlackAsianIndianIslanderOtherTwo or MoreHispanicNot Hispanic, White

010

United States
331,449,281

7.4%

204,277,273
61.6%
-8.6%
41,104,200
12.4%
5.6%
19,886,049
6.0%
35.5%
3,727,135
1.1%
27.1%
689,966
0.2%
27.8%
27,915,715
8.4%
46.1%
33,848,943
10.2%
275.7%
62,080,044
18.7%
23.0%
191,697,647
57.8%

040-18

Indiana
6,785,528

4.7%

5,241,795
77.2%
-4.1%
648,513
9.6%
9.7%
167,959
2.5%
63.9%
26,086
0.4%
41.3%
3,137
0.0%
33.6%
261,312
3.9%
50.8%
436,726
6.4%
241.5%
554,191
8.2%
42.2%
5,121,004
75.5%

050-18057

Hamilton County, Indiana
347,467

26.5%

278,968
80.3%
14.8%
14,993
4.3%
56.1%
23,595
6.8%
79.1%
671
0.2%
26.8%
140
0.0%
44.3%
6,536
1.9%
99.9%
22,564
6.5%
359.6%
18,106
5.2%
92.1%
275,185
79.2%
16.0%

140-18057110101

Census Tract 1101.01, Hamilton County, Indiana
9,078

49.9%

6,624
73.0%
31.4%
794
8.7%
46.2%
256
2.8%
175.3%
24
0.3%
84.6%
12
0.1%
427
4.7%
103.3%
941
10.4%
503.2%
1,052
11.6%
103.1%
6,436
70.9%
34.9%

140-18057110102

Census Tract 1101.02, Hamilton County, Indiana
4,271

-1.0%

4,007
93.8%
-4.6%
18
0.4%
-10.0%
19
0.4%
0.0%
5
0.1%
-66.7%
38
0.9%
90.0%
184
4.3%
425.7%
108
2.5%
77.0%
3,977
93.1%

140-18057110201

Census Tract 1102.01, Hamilton County, Indiana
4,231

-3.0%

3,943
93.2%
-7.2%
18
0.4%
-5.3%
7
0.2%
-30.0%
18
0.4%
38.5%
1
0.0%
0.0%
37
0.9%
68.2%
207
4.9%
331.2%
103
2.4%
58.5%
3,907
92.3%

140-18057110202

Census Tract 1102.02, Hamilton County, Indiana
6,632

10.4%

6,171
93.0%
6.1%
48
0.7%
26.3%
35
0.5%
-5.4%
21
0.3%
-25.0%
78
1.2%
169.0%
279
4.2%
357.4%
176
2.7%
81.4%
6,112
92.2%
6.2%

140-18057110301

Census Tract 1103.01, Hamilton County, Indiana
9,332

74.7%

7,838
84.0%
59.1%
329
3.5%
169.7%
411
4.4%
158.5%
2
0.0%
-87.5%
1
0.0%
160
1.7%
661.9%
591
6.3%
509.3%
492
5.3%
213.4%
7,738
82.9%
60.8%

140-18057110302

Census Tract 1103.02, Hamilton County, Indiana
5,716

201.0%

4,546
79.5%
156.8%
357
6.2%
3866.7%
191
3.3%
1093.8%
11
0.2%
120.0%
3
0.1%
200
3.5%
141.0%
408
7.1%
2450.0%
467
8.2%
279.7%
4,457
78.0%
157.0%

140-18057110303

Census Tract 1103.03, Hamilton County, Indiana
5,218

7.4%

4,846
92.9%
3.4%
34
0.7%
47.8%
36
0.7%
176.9%
7
0.1%
-36.4%
4
0.1%
300.0%
66
1.3%
40.4%
225
4.3%
196.1%
174
3.3%
50.0%
4,804
92.1%
3.7%

140-18057110401

Census Tract 1104.01, Hamilton County, Indiana
4,443

13.4%

3,628
81.7%
3.0%
54
1.2%
125.0%
42
0.9%
133.3%
23
0.5%
187.5%
11
0.2%
1000.0%
375
8.4%
25.8%
310
7.0%
573.9%
633
14.2%
26.1%
3,534
79.5%
6.1%

140-18057110404

Census Tract 1104.04, Hamilton County, Indiana
5,309

3.8%

4,668
87.9%
-2.0%
124
2.3%
12.7%
147
2.8%
2.8%
8
0.2%
166.7%
76
1.4%
123.5%
286
5.4%
361.3%
185
3.5%
77.9%
4,625
87.1%

140-18057110405

Census Tract 1104.05, Hamilton County, Indiana
5,018

40.6%

3,964
79.0%
29.7%
194
3.9%
26.0%
187
3.7%
167.1%
15
0.3%
25.0%
5
0.1%
25.0%
274
5.5%
39.1%
379
7.6%
412.2%
536
10.7%
19.1%
3,882
77.4%
37.1%

140-18057110406

Census Tract 1104.06, Hamilton County, Indiana
6,395

14.0%

5,495
85.9%
9.1%
176
2.8%
12.8%
213
3.3%
8.1%
24
0.4%
33.3%
2
0.0%
-33.3%
103
1.6%
4.0%
382
6.0%
267.3%
285
4.5%
35.1%
5,426
84.8%
10.4%

140-18057110505

Census Tract 1105.05, Hamilton County, Indiana
7,344

6.8%

6,347
86.4%
-1.7%
162
2.2%
40.9%
140
1.9%
27.3%
18
0.2%
38.5%
3
0.0%
-50.0%
240
3.3%
152.6%
434
5.9%
435.8%
513
7.0%
78.7%
6,210
84.6%

140-18057110509

Census Tract 1105.09, Hamilton County, Indiana
5,469

14.9%

4,684
85.6%
4.6%
128
2.3%
48.8%
70
1.3%
55.6%
17
0.3%
21.4%
9
0.2%
12.5%
216
3.9%
208.6%
345
6.3%
505.3%
430
7.9%
98.2%
4,606
84.2%
6.1%

140-18057110511

Census Tract 1105.11, Hamilton County, Indiana
5,688

-0.4%

5,215
91.7%
-5.4%
50
0.9%
0.0%
52
0.9%
20.9%
4
0.1%
-66.7%
1
0.0%
0.0%
49
0.9%
40.0%
317
5.6%
428.3%
191
3.4%
51.6%
5,180
91.1%

140-18057110512

Census Tract 1105.12, Hamilton County, Indiana
4,863

7.8%

4,472
92.0%
4.2%
95
2.0%
33.8%
41
0.8%
-34.9%
1
0.0%
-90.9%
3
0.1%
32
0.7%
3.2%
219
4.5%
409.3%
100
2.1%
38.9%
4,439
91.3%
4.4%

140-18057110513

Census Tract 1105.13, Hamilton County, Indiana
11,255

106.9%

8,715
77.4%
85.3%
739
6.6%
120.6%
627
5.6%
224.9%
24
0.2%
140.0%
1
0.0%
-50.0%
284
2.5%
175.7%
865
7.7%
810.5%
799
7.1%
218.3%
8,533
75.8%
87.2%

140-18057110514

Census Tract 1105.14, Hamilton County, Indiana
3,181

-2.0%

2,909
91.4%
-7.0%
62
1.9%
113.8%
34
1.1%
30.8%
5
0.2%
66.7%
1
0.0%
18
0.6%
-35.7%
152
4.8%
360.6%
64
2.0%
36.2%
2,895
91.0%

140-18057110515

Census Tract 1105.15, Hamilton County, Indiana
9,520

97.0%

8,421
88.5%
85.2%
256
2.7%
216.0%
265
2.8%
170.4%
5
0.1%
25.0%
4
0.0%
79
0.8%
154.8%
490
5.1%
590.1%
315
3.3%
228.1%
8,338
87.6%
85.7%

140-18057110516

Census Tract 1105.16, Hamilton County, Indiana
10,257

69.9%

8,913
86.9%
58.8%
250
2.4%
123.2%
264
2.6%
98.5%
27
0.3%
92.9%
7
0.1%
600.0%
176
1.7%
147.9%
620
6.0%
552.6%
501
4.9%
104.5%
8,808
85.9%
61.6%

140-18057110517

Census Tract 1105.17, Hamilton County, Indiana
6,811

68.0%

5,694
83.6%
54.3%
287
4.2%
145.3%
191
2.8%
96.9%
24
0.4%
500.0%
2
0.0%
0.0%
135
2.0%
141.1%
478
7.0%
443.2%
415
6.1%
198.6%
5,602
82.2%
55.1%

140-18057110518

Census Tract 1105.18, Hamilton County, Indiana
5,151

5.7%

4,635
90.0%
1.8%
129
2.5%
38.7%
68
1.3%
-9.3%
11
0.2%
0.0%
2
0.0%
-71.4%
85
1.7%
11.8%
221
4.3%
281.0%
204
4.0%
17.9%
4,582
89.0%
2.4%

140-18057110600

Census Tract 1106, Hamilton County, Indiana
4,175

-1.1%

3,505
84.0%
-8.7%
278
6.7%
39.7%
53
1.3%
130.4%
5
0.1%
-16.7%
1
0.0%
-90.0%
72
1.7%
56.5%
261
6.3%
169.1%
218
5.2%
27.5%
3,450
82.6%

140-18057110700

Census Tract 1107, Hamilton County, Indiana
3,402

-0.7%

2,897
85.2%
-7.1%
79
2.3%
1.3%
19
0.6%
-9.5%
13
0.4%
8.3%
4
0.1%
0.0%
126
3.7%
32.6%
264
7.8%
175.0%
219
6.4%
10.1%
2,851
83.8%

140-18057110805

Census Tract 1108.05, Hamilton County, Indiana
7,793

-2.6%

6,586
84.5%
-9.2%
254
3.3%
0.4%
407
5.2%
26.0%
9
0.1%
-18.2%
5
0.1%
150.0%
91
1.2%
250.0%
441
5.7%
250.0%
254
3.3%
55.8%
6,521
83.7%

140-18057110807

Census Tract 1108.07, Hamilton County, Indiana
6,481

18.5%

4,414
68.1%
0.7%
463
7.1%
18.7%
926
14.3%
90.1%
21
0.3%
75.0%
3
0.0%
200.0%
177
2.7%
90.3%
477
7.4%
372.3%
446
6.9%
105.5%
4,332
66.8%
1.6%

140-18057110810

Census Tract 1108.10, Hamilton County, Indiana
6,832

8.5%

5,617
82.2%
-1.9%
418
6.1%
43.6%
265
3.9%
86.6%
1
0.0%
-85.7%
105
1.5%
320.0%
426
6.2%
301.9%
281
4.1%
140.2%
5,558
81.4%

140-18057110811

Census Tract 1108.11, Hamilton County, Indiana
4,492

9.9%

3,537
78.7%
-2.9%
337
7.5%
74.6%
217
4.8%
40.0%
22
0.5%
450.0%
2
0.0%
72
1.6%
71.4%
305
6.8%
486.5%
260
5.8%
124.1%
3,475
77.4%

140-18057110812

Census Tract 1108.12, Hamilton County, Indiana
6,686

10.6%

5,318
79.5%
-0.3%
230
3.4%
28.5%
443
6.6%
73.0%
19
0.3%
137.5%
213
3.2%
54.3%
463
6.9%
245.5%
486
7.3%
46.8%
5,215
78.0%
1.1%

140-18057110813

Census Tract 1108.13, Hamilton County, Indiana
13,901

80.6%

11,042
79.4%
59.6%
802
5.8%
198.1%
1,006
7.2%
227.7%
36
0.3%
260.0%
5
0.0%
400.0%
131
0.9%
191.1%
879
6.3%
510.4%
525
3.8%
190.1%
10,939
78.7%
61.3%

140-18057110814

Census Tract 1108.14, Hamilton County, Indiana
11,281

142.2%

8,538
75.7%
110.7%
698
6.2%
200.9%
1,130
10.0%
329.7%
17
0.2%
183.3%
2
0.0%
140
1.2%
351.6%
756
6.7%
921.6%
521
4.6%
256.8%
8,401
74.5%
113.0%

140-18057110815

Census Tract 1108.15, Hamilton County, Indiana
7,888

36.1%

5,792
73.4%
22.6%
666
8.4%
30.1%
663
8.4%
113.2%
14
0.2%
100.0%
5
0.1%
400.0%
108
1.4%
61.2%
640
8.1%
272.1%
418
5.3%
70.6%
5,690
72.1%
24.6%

140-18057110816

Census Tract 1108.16, Hamilton County, Indiana
4,346

23.4%

2,902
66.8%
9.0%
602
13.9%
38.1%
412
9.5%
68.9%
15
0.3%
150.0%
10
0.2%
142
3.3%
158.2%
263
6.1%
121.0%
324
7.5%
88.4%
2,817
64.8%
9.7%

140-18057110817

Census Tract 1108.17, Hamilton County, Indiana
7,395

14.0%

5,504
74.4%
2.7%
578
7.8%
35.0%
635
8.6%
49.8%
9
0.1%
-30.8%
1
0.0%
-80.0%
127
1.7%
42.7%
541
7.3%
224.0%
381
5.2%
42.2%
5,416
73.2%
4.0%

140-18057110818

Census Tract 1108.18, Hamilton County, Indiana
7,656

28.0%

5,541
72.4%
13.7%
701
9.2%
53.1%
621
8.1%
63.9%
36
0.5%
89.5%
1
0.0%
-75.0%
156
2.0%
160.0%
600
7.8%
222.6%
514
6.7%
104.8%
5,409
70.7%
15.0%

140-18057110819

Census Tract 1108.19, Hamilton County, Indiana
6,086

3.3%

5,163
84.8%
-5.8%
241
4.0%
97.5%
239
3.9%
63.7%
7
0.1%
-12.5%
2
0.0%
100.0%
60
1.0%
15.4%
374
6.1%
367.5%
218
3.6%
51.4%
5,109
83.9%

140-18057110820

Census Tract 1108.20, Hamilton County, Indiana
4,146

46.7%

2,950
71.2%
23.8%
361
8.7%
72.7%
338
8.2%
158.0%
17
0.4%
325.0%
4
0.1%
300.0%
139
3.4%
379.3%
337
8.1%
388.4%
355
8.6%
208.7%
2,869
69.2%
24.3%

140-18057110821

Census Tract 1108.21, Hamilton County, Indiana
5,000

2.0%

3,803
76.1%
-4.2%
353
7.1%
13.1%
402
8.0%
-6.7%
6
0.1%
-14.3%
79
1.6%
9.7%
357
7.1%
240.0%
300
6.0%
24.0%
3,751
75.0%

140-18057110822

Census Tract 1108.22, Hamilton County, Indiana
5,632

23.0%

4,265
75.7%
9.8%
358
6.4%
33.6%
551
9.8%
83.7%
12
0.2%
0.0%
76
1.3%
81.0%
370
6.6%
406.8%
174
3.1%
46.2%
4,232
75.1%
11.3%

140-18057110904

Census Tract 1109.04, Hamilton County, Indiana
4,652

2.3%

4,022
86.5%
-3.5%
75
1.6%
-3.8%
250
5.4%
14.2%
4
0.1%
-60.0%
23
0.5%
-17.9%
278
6.0%
612.8%
162
3.5%
63.6%
3,993
85.8%

140-18057110905

Census Tract 1109.05, Hamilton County, Indiana
3,819

34.5%

3,007
78.7%
27.1%
122
3.2%
0.0%
220
5.8%
10.6%
5
0.1%
-54.5%
3
0.1%
200.0%
118
3.1%
53.2%
344
9.0%
446.0%
332
8.7%
104.9%
2,963
77.6%
29.5%

140-18057110906

Census Tract 1109.06, Hamilton County, Indiana
6,774

6.9%

5,846
86.3%
2.1%
148
2.2%
34.5%
332
4.9%
4.1%
3
0.0%
-62.5%
2
0.0%
0.0%
92
1.4%
76.9%
351
5.2%
200.0%
232
3.4%
63.4%
5,789
85.5%
2.5%

140-18057110907

Census Tract 1109.07, Hamilton County, Indiana
5,358

-0.5%

4,600
85.9%
-4.9%
97
1.8%
1.0%
351
6.6%
2.9%
1
0.0%
15
0.3%
-42.3%
294
5.5%
250.0%
139
2.6%
75.9%
4,553
85.0%

140-18057110909

Census Tract 1109.09, Hamilton County, Indiana
6,468

15.7%

4,529
70.0%
0.6%
242
3.7%
12.0%
1,188
18.4%
58.2%
5
0.1%
0.0%
1
0.0%
0.0%
100
1.5%
376.2%
403
6.2%
328.7%
253
3.9%
70.9%
4,495
69.5%
2.7%

140-18057110910

Census Tract 1109.10, Hamilton County, Indiana
7,040

64.6%

3,840
54.5%
38.9%
342
4.9%
27.1%
2,335
33.2%
118.0%
2
0.0%
-86.7%
4
0.1%
90
1.3%
95.7%
427
6.1%
277.9%
238
3.4%
59.7%
3,803
54.0%
42.9%

140-18057110911

Census Tract 1109.11, Hamilton County, Indiana
7,308

43.2%

5,215
71.4%
27.3%
237
3.2%
69.3%
1,305
17.9%
83.0%
4
0.1%
-50.0%
89
1.2%
117.1%
458
6.3%
344.7%
311
4.3%
116.0%
5,147
70.4%
28.5%

140-18057110912

Census Tract 1109.12, Hamilton County, Indiana
5,547

-2.0%

4,393
79.2%
-6.8%
107
1.9%
-4.5%
711
12.8%
-0.3%
11
0.2%
1000.0%
2
0.0%
0.0%
51
0.9%
112.5%
272
4.9%
195.7%
181
3.3%
67.6%
4,354
78.5%

140-18057111003

Census Tract 1110.03, Hamilton County, Indiana
4,726

5.1%

4,280
90.6%
-0.2%
49
1.0%
6.5%
95
2.0%
14.5%
5
0.1%
25.0%
2
0.0%
31
0.7%
82.4%
264
5.6%
355.2%
108
2.3%
116.0%
4,255
90.0%
0.1%

140-18057111004

Census Tract 1110.04, Hamilton County, Indiana
3,014

3.0%

2,493
82.7%
-6.9%
107
3.6%
91.1%
189
6.3%
42.1%
5
0.2%
27
0.9%
125.0%
193
6.4%
302.1%
113
3.7%
85.2%
2,474
82.1%

140-18057111006

Census Tract 1110.06, Hamilton County, Indiana
4,171

-1.7%

3,370
80.8%
-9.4%
112
2.7%
-18.2%
241
5.8%
6.6%
15
0.4%
87.5%
84
2.0%
154.5%
349
8.4%
193.3%
260
6.2%
85.7%
3,315
79.5%

140-18057111007

Census Tract 1110.07, Hamilton County, Indiana
4,030

1.0%

2,884
71.6%
-14.4%
234
5.8%
5.9%
274
6.8%
15.1%
13
0.3%
116.7%
1
0.0%
190
4.7%
187.9%
434
10.8%
393.2%
510
12.7%
158.9%
2,841
70.5%

140-18057111009

Census Tract 1110.09, Hamilton County, Indiana
7,816

25.7%

6,319
80.8%
12.2%
182
2.3%
78.4%
758
9.7%
104.9%
5
0.1%
-28.6%
1
0.0%
87
1.1%
357.9%
464
5.9%
409.9%
303
3.9%
212.4%
6,255
80.0%
12.6%

140-18057111010

Census Tract 1110.10, Hamilton County, Indiana
7,044

44.6%

4,617
65.5%
19.2%
294
4.2%
53.9%
1,636
23.2%
159.3%
3
0.0%
-70.0%
67
1.0%
109.4%
427
6.1%
221.1%
229
3.3%
118.1%
4,558
64.7%
19.9%

140-18057111011

Census Tract 1110.11, Hamilton County, Indiana
3,377

44.1%

2,545
75.4%
27.4%
137
4.1%
71.2%
263
7.8%
39.2%
8
0.2%
100.0%
3
0.1%
50.0%
46
1.4%
109.1%
375
11.1%
650.0%
331
9.8%
480.7%
2,519
74.6%
28.2%

140-18057111012

Census Tract 1110.12, Hamilton County, Indiana
4,564

86.7%

3,026
66.3%
51.8%
287
6.3%
141.2%
872
19.1%
223.0%
11
0.2%
83.3%
2
0.0%
-33.3%
68
1.5%
325.0%
298
6.5%
684.2%
243
5.3%
164.1%
2,970
65.1%
54.1%

140-18057111101

Census Tract 1111.01, Hamilton County, Indiana
3,852

0.1%

3,229
83.8%
-6.8%
120
3.1%
36.4%
231
6.0%
7.4%
7
0.2%
-22.2%
49
1.3%
390.0%
216
5.6%
254.1%
135
3.5%
51.7%
3,197
83.0%

140-18057111103

Census Tract 1111.03, Hamilton County, Indiana
4,013

3.6%

2,975
74.1%
-8.6%
197
4.9%
14.5%
486
12.1%
56.8%
8
0.2%
-27.3%
65
1.6%
160.0%
282
7.0%
179.2%
170
4.2%
45.3%
2,953
73.6%

140-18057111104

Census Tract 1111.04, Hamilton County, Indiana
5,520

28.2%

4,669
84.6%
19.9%
181
3.3%
61.6%
235
4.3%
28.4%
4
0.1%
-73.3%
1
0.0%
0.0%
82
1.5%
105.0%
348
6.3%
480.0%
219
4.0%
61.0%
4,625
83.8%
21.8%

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-18057function 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_18057110101,"properties":{ "geot__geoid":"18057110101","geot__namelsad":"Census Tract 1101.01, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110101","pmk":"140-18057110101","total_ypc":49.9, } }, {"type":"Feature","geometry": G2020_140_18057110102,"properties":{ "geot__geoid":"18057110102","geot__namelsad":"Census Tract 1101.02, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110102","pmk":"140-18057110102","total_ypc":-1.0, } }, {"type":"Feature","geometry": G2020_140_18057110201,"properties":{ "geot__geoid":"18057110201","geot__namelsad":"Census Tract 1102.01, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110201","geot__pmk":"2020-140-18057110201","pmk":"140-18057110201","total_ypc":-3.0, } }, {"type":"Feature","geometry": G2020_140_18057110202,"properties":{ "geot__geoid":"18057110202","geot__namelsad":"Census Tract 1102.02, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110202","geot__pmk":"2020-140-18057110202","pmk":"140-18057110202","total_ypc":10.4, } }, {"type":"Feature","geometry": G2020_140_18057110301,"properties":{ "geot__geoid":"18057110301","geot__namelsad":"Census Tract 1103.01, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110301","pmk":"140-18057110301","total_ypc":74.7, } }, {"type":"Feature","geometry": G2020_140_18057110302,"properties":{ "geot__geoid":"18057110302","geot__namelsad":"Census Tract 1103.02, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110302","pmk":"140-18057110302","total_ypc":201.0, } }, {"type":"Feature","geometry": G2020_140_18057110303,"properties":{ "geot__geoid":"18057110303","geot__namelsad":"Census Tract 1103.03, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110303","pmk":"140-18057110303","total_ypc":7.4, } }, {"type":"Feature","geometry": G2020_140_18057110401,"properties":{ "geot__geoid":"18057110401","geot__namelsad":"Census Tract 1104.01, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110401","geot__pmk":"2020-140-18057110401","pmk":"140-18057110401","total_ypc":13.4, } }, {"type":"Feature","geometry": G2020_140_18057110404,"properties":{ "geot__geoid":"18057110404","geot__namelsad":"Census Tract 1104.04, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110404","geot__pmk":"2020-140-18057110404","pmk":"140-18057110404","total_ypc":3.8, } }, {"type":"Feature","geometry": G2020_140_18057110405,"properties":{ "geot__geoid":"18057110405","geot__namelsad":"Census Tract 1104.05, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110405","pmk":"140-18057110405","total_ypc":40.6, } }, {"type":"Feature","geometry": G2020_140_18057110406,"properties":{ "geot__geoid":"18057110406","geot__namelsad":"Census Tract 1104.06, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110406","pmk":"140-18057110406","total_ypc":14.0, } }, {"type":"Feature","geometry": G2020_140_18057110505,"properties":{ "geot__geoid":"18057110505","geot__namelsad":"Census Tract 1105.05, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110505","geot__pmk":"2020-140-18057110505","pmk":"140-18057110505","total_ypc":6.8, } }, {"type":"Feature","geometry": G2020_140_18057110509,"properties":{ "geot__geoid":"18057110509","geot__namelsad":"Census Tract 1105.09, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110509","geot__pmk":"2020-140-18057110509","pmk":"140-18057110509","total_ypc":14.9, } }, {"type":"Feature","geometry": G2020_140_18057110511,"properties":{ "geot__geoid":"18057110511","geot__namelsad":"Census Tract 1105.11, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110511","geot__pmk":"2020-140-18057110511","pmk":"140-18057110511","total_ypc":-0.4, } }, {"type":"Feature","geometry": G2020_140_18057110512,"properties":{ "geot__geoid":"18057110512","geot__namelsad":"Census Tract 1105.12, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110512","geot__pmk":"2020-140-18057110512","pmk":"140-18057110512","total_ypc":7.8, } }, {"type":"Feature","geometry": G2020_140_18057110513,"properties":{ "geot__geoid":"18057110513","geot__namelsad":"Census Tract 1105.13, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110513","pmk":"140-18057110513","total_ypc":106.9, } }, {"type":"Feature","geometry": G2020_140_18057110514,"properties":{ "geot__geoid":"18057110514","geot__namelsad":"Census Tract 1105.14, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110514","pmk":"140-18057110514","total_ypc":-2.0, } }, {"type":"Feature","geometry": G2020_140_18057110515,"properties":{ "geot__geoid":"18057110515","geot__namelsad":"Census Tract 1105.15, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110515","pmk":"140-18057110515","total_ypc":97.0, } }, {"type":"Feature","geometry": G2020_140_18057110516,"properties":{ "geot__geoid":"18057110516","geot__namelsad":"Census Tract 1105.16, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110516","pmk":"140-18057110516","total_ypc":69.9, } }, {"type":"Feature","geometry": G2020_140_18057110517,"properties":{ "geot__geoid":"18057110517","geot__namelsad":"Census Tract 1105.17, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110517","pmk":"140-18057110517","total_ypc":68.0, } }, {"type":"Feature","geometry": G2020_140_18057110518,"properties":{ "geot__geoid":"18057110518","geot__namelsad":"Census Tract 1105.18, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110518","pmk":"140-18057110518","total_ypc":5.7, } }, {"type":"Feature","geometry": G2020_140_18057110600,"properties":{ "geot__geoid":"18057110600","geot__namelsad":"Census Tract 1106, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110600","geot__pmk":"2020-140-18057110600","pmk":"140-18057110600","total_ypc":-1.1, } }, {"type":"Feature","geometry": G2020_140_18057110700,"properties":{ "geot__geoid":"18057110700","geot__namelsad":"Census Tract 1107, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110700","geot__pmk":"2020-140-18057110700","pmk":"140-18057110700","total_ypc":-0.7, } }, {"type":"Feature","geometry": G2020_140_18057110805,"properties":{ "geot__geoid":"18057110805","geot__namelsad":"Census Tract 1108.05, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110805","geot__pmk":"2020-140-18057110805","pmk":"140-18057110805","total_ypc":-2.6, } }, {"type":"Feature","geometry": G2020_140_18057110807,"properties":{ "geot__geoid":"18057110807","geot__namelsad":"Census Tract 1108.07, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110807","geot__pmk":"2020-140-18057110807","pmk":"140-18057110807","total_ypc":18.5, } }, {"type":"Feature","geometry": G2020_140_18057110810,"properties":{ "geot__geoid":"18057110810","geot__namelsad":"Census Tract 1108.10, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110810","geot__pmk":"2020-140-18057110810","pmk":"140-18057110810","total_ypc":8.5, } }, {"type":"Feature","geometry": G2020_140_18057110811,"properties":{ "geot__geoid":"18057110811","geot__namelsad":"Census Tract 1108.11, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110811","geot__pmk":"2020-140-18057110811","pmk":"140-18057110811","total_ypc":9.9, } }, {"type":"Feature","geometry": G2020_140_18057110812,"properties":{ "geot__geoid":"18057110812","geot__namelsad":"Census Tract 1108.12, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110812","geot__pmk":"2020-140-18057110812","pmk":"140-18057110812","total_ypc":10.6, } }, {"type":"Feature","geometry": G2020_140_18057110813,"properties":{ "geot__geoid":"18057110813","geot__namelsad":"Census Tract 1108.13, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110813","pmk":"140-18057110813","total_ypc":80.6, } }, {"type":"Feature","geometry": G2020_140_18057110814,"properties":{ "geot__geoid":"18057110814","geot__namelsad":"Census Tract 1108.14, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110814","pmk":"140-18057110814","total_ypc":142.2, } }, {"type":"Feature","geometry": G2020_140_18057110815,"properties":{ "geot__geoid":"18057110815","geot__namelsad":"Census Tract 1108.15, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110815","pmk":"140-18057110815","total_ypc":36.1, } }, {"type":"Feature","geometry": G2020_140_18057110816,"properties":{ "geot__geoid":"18057110816","geot__namelsad":"Census Tract 1108.16, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110816","pmk":"140-18057110816","total_ypc":23.4, } }, {"type":"Feature","geometry": G2020_140_18057110817,"properties":{ "geot__geoid":"18057110817","geot__namelsad":"Census Tract 1108.17, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110817","pmk":"140-18057110817","total_ypc":14.0, } }, {"type":"Feature","geometry": G2020_140_18057110818,"properties":{ "geot__geoid":"18057110818","geot__namelsad":"Census Tract 1108.18, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110818","pmk":"140-18057110818","total_ypc":28.0, } }, {"type":"Feature","geometry": G2020_140_18057110819,"properties":{ "geot__geoid":"18057110819","geot__namelsad":"Census Tract 1108.19, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110819","pmk":"140-18057110819","total_ypc":3.3, } }, {"type":"Feature","geometry": G2020_140_18057110820,"properties":{ "geot__geoid":"18057110820","geot__namelsad":"Census Tract 1108.20, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110820","pmk":"140-18057110820","total_ypc":46.7, } }, {"type":"Feature","geometry": G2020_140_18057110821,"properties":{ "geot__geoid":"18057110821","geot__namelsad":"Census Tract 1108.21, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110821","pmk":"140-18057110821","total_ypc":2.0, } }, {"type":"Feature","geometry": G2020_140_18057110822,"properties":{ "geot__geoid":"18057110822","geot__namelsad":"Census Tract 1108.22, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110822","pmk":"140-18057110822","total_ypc":23.0, } }, {"type":"Feature","geometry": G2020_140_18057110904,"properties":{ "geot__geoid":"18057110904","geot__namelsad":"Census Tract 1109.04, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110904","geot__pmk":"2020-140-18057110904","pmk":"140-18057110904","total_ypc":2.3, } }, {"type":"Feature","geometry": G2020_140_18057110905,"properties":{ "geot__geoid":"18057110905","geot__namelsad":"Census Tract 1109.05, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110905","geot__pmk":"2020-140-18057110905","pmk":"140-18057110905","total_ypc":34.5, } }, {"type":"Feature","geometry": G2020_140_18057110906,"properties":{ "geot__geoid":"18057110906","geot__namelsad":"Census Tract 1109.06, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110906","geot__pmk":"2020-140-18057110906","pmk":"140-18057110906","total_ypc":6.9, } }, {"type":"Feature","geometry": G2020_140_18057110907,"properties":{ "geot__geoid":"18057110907","geot__namelsad":"Census Tract 1109.07, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057110907","geot__pmk":"2020-140-18057110907","pmk":"140-18057110907","total_ypc":-0.5, } }, {"type":"Feature","geometry": G2020_140_18057110909,"properties":{ "geot__geoid":"18057110909","geot__namelsad":"Census Tract 1109.09, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110909","pmk":"140-18057110909","total_ypc":15.7, } }, {"type":"Feature","geometry": G2020_140_18057110910,"properties":{ "geot__geoid":"18057110910","geot__namelsad":"Census Tract 1109.10, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110910","pmk":"140-18057110910","total_ypc":64.6, } }, {"type":"Feature","geometry": G2020_140_18057110911,"properties":{ "geot__geoid":"18057110911","geot__namelsad":"Census Tract 1109.11, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110911","pmk":"140-18057110911","total_ypc":43.2, } }, {"type":"Feature","geometry": G2020_140_18057110912,"properties":{ "geot__geoid":"18057110912","geot__namelsad":"Census Tract 1109.12, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057110912","pmk":"140-18057110912","total_ypc":-2.0, } }, {"type":"Feature","geometry": G2020_140_18057111003,"properties":{ "geot__geoid":"18057111003","geot__namelsad":"Census Tract 1110.03, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057111003","geot__pmk":"2020-140-18057111003","pmk":"140-18057111003","total_ypc":5.1, } }, {"type":"Feature","geometry": G2020_140_18057111004,"properties":{ "geot__geoid":"18057111004","geot__namelsad":"Census Tract 1110.04, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057111004","geot__pmk":"2020-140-18057111004","pmk":"140-18057111004","total_ypc":3.0, } }, {"type":"Feature","geometry": G2020_140_18057111006,"properties":{ "geot__geoid":"18057111006","geot__namelsad":"Census Tract 1110.06, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057111006","geot__pmk":"2020-140-18057111006","pmk":"140-18057111006","total_ypc":-1.7, } }, {"type":"Feature","geometry": G2020_140_18057111007,"properties":{ "geot__geoid":"18057111007","geot__namelsad":"Census Tract 1110.07, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057111007","geot__pmk":"2020-140-18057111007","pmk":"140-18057111007","total_ypc":1.0, } }, {"type":"Feature","geometry": G2020_140_18057111009,"properties":{ "geot__geoid":"18057111009","geot__namelsad":"Census Tract 1110.09, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057111009","pmk":"140-18057111009","total_ypc":25.7, } }, {"type":"Feature","geometry": G2020_140_18057111010,"properties":{ "geot__geoid":"18057111010","geot__namelsad":"Census Tract 1110.10, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057111010","pmk":"140-18057111010","total_ypc":44.6, } }, {"type":"Feature","geometry": G2020_140_18057111011,"properties":{ "geot__geoid":"18057111011","geot__namelsad":"Census Tract 1110.11, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057111011","pmk":"140-18057111011","total_ypc":44.1, } }, {"type":"Feature","geometry": G2020_140_18057111012,"properties":{ "geot__geoid":"18057111012","geot__namelsad":"Census Tract 1110.12, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057111012","pmk":"140-18057111012","total_ypc":86.7, } }, {"type":"Feature","geometry": G2020_140_18057111101,"properties":{ "geot__geoid":"18057111101","geot__namelsad":"Census Tract 1111.01, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"2010-140-18057111101","geot__pmk":"2020-140-18057111101","pmk":"140-18057111101","total_ypc":0.1, } }, {"type":"Feature","geometry": G2020_140_18057111103,"properties":{ "geot__geoid":"18057111103","geot__namelsad":"Census Tract 1111.03, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057111103","pmk":"140-18057111103","total_ypc":3.6, } }, {"type":"Feature","geometry": G2020_140_18057111104,"properties":{ "geot__geoid":"18057111104","geot__namelsad":"Census Tract 1111.04, Hamilton County, Indiana","geot__sumlevel":"140","geop__pmk":"null","geot__pmk":"2020-140-18057111104","pmk":"140-18057111104","total_ypc":28.2, } }, ]};var pJSON = {"type":"FeatureCollection", "features":[ {"type":"Feature","geometry": G2020_060_1805700388,"properties":{ "geot__geoid":"1805700388","geot__namelsad":"Adams township, Hamilton County, Indiana","geot__sumlevel":"060","geop__pmk":"2010-060-1805700388","geot__pmk":"2020-060-1805700388","pmk":"060-1805700388","total_ypc":7.4, } }, {"type":"Feature","geometry": G2020_060_1805713060,"properties":{ "geot__geoid":"1805713060","geot__namelsad":"Clay township, Hamilton County, Indiana","geot__sumlevel":"060","geop__pmk":"2010-060-1805713060","geot__pmk":"2020-060-1805713060","pmk":"060-1805713060","total_ypc":19.0, } }, {"type":"Feature","geometry": G2020_060_1805717488,"properties":{ "geot__geoid":"1805717488","geot__namelsad":"Delaware township, Hamilton County, Indiana","geot__sumlevel":"060","geop__pmk":"2010-060-1805717488","geot__pmk":"2020-060-1805717488","pmk":"060-1805717488","total_ypc":13.4, } }, {"type":"Feature","geometry": G2020_060_1805722612,"properties":{ "geot__geoid":"1805722612","geot__namelsad":"Fall Creek township, Hamilton County, Indiana","geot__sumlevel":"060","geop__pmk":"2010-060-1805722612","geot__pmk":"2020-060-1805722612","pmk":"060-1805722612","total_ypc":37.4, } }, {"type":"Feature","geometry": G2020_060_1805737044,"properties":{ "geot__geoid":"1805737044","geot__namelsad":"Jackson township, Hamilton County, Indiana","geot__sumlevel":"060","geop__pmk":"2010-060-1805737044","geot__pmk":"2020-060-1805737044","pmk":"060-1805737044","total_ypc":4.8, } }, {"type":"Feature","geometry": G2020_060_1805754198,"properties":{ "geot__geoid":"1805754198","geot__namelsad":"Noblesville township, Hamilton County, Indiana","geot__sumlevel":"060","geop__pmk":"2010-060-1805754198","geot__pmk":"2020-060-1805754198","pmk":"060-1805754198","total_ypc":26.7, } }, {"type":"Feature","geometry": G2020_060_1805781710,"properties":{ "geot__geoid":"1805781710","geot__namelsad":"Wayne township, Hamilton County, Indiana","geot__sumlevel":"060","geop__pmk":"2010-060-1805781710","geot__pmk":"2020-060-1805781710","pmk":"060-1805781710","total_ypc":38.7, } }, {"type":"Feature","geometry": G2020_060_1805783906,"properties":{ "geot__geoid":"1805783906","geot__namelsad":"White River township, Hamilton County, Indiana","geot__sumlevel":"060","geop__pmk":"2010-060-1805783906","geot__pmk":"2020-060-1805783906","pmk":"060-1805783906","total_ypc":-2.9, } }, ]};// 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_18057) }, '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_18057); 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-18057)map.fitBounds(bounds, { padding: 120 });map.addControl(new mapboxgl.NavigationControl(), 'top-left');

Hamilton County, Indiana Demographics and Housing 2020 Decennial Census (2024)
Top Articles
Latest Posts
Article information

Author: Aracelis Kilback

Last Updated:

Views: 6273

Rating: 4.3 / 5 (44 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Aracelis Kilback

Birthday: 1994-11-22

Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

Phone: +5992291857476

Job: Legal Officer

Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.