{"renderer":{"visualVariables":[{"type":"sizeInfo","field":null,"valueExpression":"// Write a script that returns a value that will be used to draw features.\n// For example, find the percentage of males:\n// Round(($feature.MalePop / $feature.TotalPop) * 100, 2)\n\n// Write a script that returns a value that will be used to draw features.\n// For example, find the percentage of males:\n// Round(($feature.MalePop / $feature.TotalPop) * 100, 2)\n\n/************************ Predominant Category *******************************************/\n\nvar fields = [\n { value: $feature.B19013Be1, alias: \"Median Household Income, Black or African American Householder\"},\n { value: $feature.B19013Ce1, alias: \"Median Household Income, American Indian or Alaska Native Householder\" },\n { value: $feature.B19013De1, alias: \"Median Household Income, Asian Householder\" },\n { value: $feature.B19013Ee1, alias: \"Median Household Income, Native Hawaiian or Other Pacific Islander Householder\" },\n { value: $feature.B19013Fe1, alias: \"Median Household Income, Some Other Race Householder\"},\n { value: $feature.B19013Ge1, alias: \"Median Household Income, 2 or More Races Householder\" },\n { value: $feature.B19013He1, alias: \"Median Household Income, Non-Hispanic White Householder\" },\n { value: $feature.B19013Ie1, alias: \"Median Household Income, Hispanic or Latino Householder\" }\n];\n\nfunction getPredominantCategory(fieldsArray){\n var maxValue = -Infinity;\n var maxCategory = \"\";\n for(var k in fieldsArray){\n if(fieldsArray[k].value > maxValue){\n maxValue = fieldsArray[k].value;\n maxCategory = fieldsArray[k].alias;\n } else if (fieldsArray[k].value == maxValue){\n maxCategory = maxCategory + \"/\" + fieldsArray[k].alias;\n } else {\n // max and predominant categories remain the same\n }\n }\n return maxValue;\n}\n\ngetPredominantCategory(fields);","valueExpressionTitle":"Median Household Income of Highest Earning Race Group","valueUnit":"unknown","minSize":1.5,"maxSize":45,"minDataValue":3000,"maxDataValue":250000},{"type":"transparencyInfo","valueExpression":"// Write a script that returns a value that will be used to draw features.\n// For example, find the percentage of males:\n// Round(($feature.MalePop / $feature.TotalPop) * 100, 2)\n\n/******************* % Strength of Predominance ********************************/\n\nvar fields = [\n { value: $feature.B19013Be1, alias: \"Median Household Income, Black or African American Householder\"},\n { value: $feature.B19013Ce1, alias: \"Median Household Income, American Indian or Alaska Native Householder\" },\n { value: $feature.B19013De1, alias: \"Median Household Income, Asian Householder\" },\n { value: $feature.B19013Ee1, alias: \"Median Household Income, Native Hawaiian or Other Pacific Islander Householder\" },\n { value: $feature.B19013Fe1, alias: \"Median Household Income, Some Other Race Householder\"},\n { value: $feature.B19013Ge1, alias: \"Median Household Income, 2 or More Races Householder\" },\n { value: $feature.B19013He1, alias: \"Median Household Income, Non-Hispanic White Householder\" },\n { value: $feature.B19013Ie1, alias: \"Median Household Income, Hispanic or Latino Householder\" }\n];\n\nfunction map (array, callback){\n var values = [];\n for(var k in array){\n values[k] = callback(array[k]);\n }\n return values;\n}\n\nfunction getFieldValueCallback (field){\n return field.value;\n}\n\nfunction getFieldValues(fieldsArray){\n return map(fieldsArray, getFieldValueCallback);\n}\n\nvar fieldValues = getFieldValues(fields);\n\nvar winner = Max(fieldValues);\nvar total = Sum(fieldValues);\nreturn (winner/total) * 100;","valueExpressionTitle":"Strength of Predominance","stops":[{"value":31,"transparency":70},{"value":81,"transparency":19.999999999999996}]}],"authoringInfo":{"visualVariables":[{"type":"sizeInfo","minSliderValue":2499,"maxSliderValue":250001},{"type":"transparencyInfo","minSliderValue":15.702347224335481,"maxSliderValue":100}]},"type":"uniqueValue","valueExpression":"// Write a script that returns a value that will be used to draw features.\n// For example, find the percentage of males:\n// Round(($feature.MalePop / $feature.TotalPop) * 100, 2)\n\n/************************ Predominant Category *******************************************/\n\nvar fields = [\n { value: $feature.B19013Be1, alias: \"Median Household Income, Black or African American Householder\"},\n { value: $feature.B19013Ce1, alias: \"Median Household Income, American Indian or Alaska Native Householder\" },\n { value: $feature.B19013De1, alias: \"Median Household Income, Asian Householder\" },\n { value: $feature.B19013Ee1, alias: \"Median Household Income, Native Hawaiian or Other Pacific Islander Householder\" },\n { value: $feature.B19013Fe1, alias: \"Median Household Income, Some Other Race Householder\"},\n { value: $feature.B19013Ge1, alias: \"Median Household Income, 2 or More Races Householder\" },\n { value: $feature.B19013He1, alias: \"Median Household Income, Non-Hispanic White Householder\" },\n { value: $feature.B19013Ie1, alias: \"Median Household Income, Hispanic or Latino Householder\" }\n];\n\nfunction getPredominantCategory(fieldsArray){\n var maxValue = -Infinity;\n var maxCategory = \"\";\n for(var k in fieldsArray){\n if(fieldsArray[k].value > maxValue){\n maxValue = fieldsArray[k].value;\n maxCategory = fieldsArray[k].alias;\n } else if (fieldsArray[k].value == maxValue){\n maxCategory = maxCategory + \"/\" + fieldsArray[k].alias;\n } else {\n // max and predominant categories remain the same\n }\n }\n return maxCategory;\n}\n\ngetPredominantCategory(fields);","valueExpressionTitle":"Top-Earning Race Group","defaultSymbol":{"color":[170,170,170,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}},"defaultLabel":"Tie","uniqueValueInfos":[{"value":"Median Household Income, Non-Hispanic White Householder","label":"Median Household Income, Non-Hispanic White Householder","symbol":{"color":[237,81,81,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}}},{"value":"Median Household Income, Asian Householder","label":"Median Household Income, Asian Householder","symbol":{"color":[20,158,206,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}}},{"value":"Median Household Income, Hispanic or Latino Householder","label":"Median Household Income, Hispanic or Latino Householder","symbol":{"color":[167,198,54,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}}},{"value":"Median Household Income, Black or African American Householder","label":"Median Household Income, Black or African American Householder","symbol":{"color":[158,85,156,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}}},{"value":"Median Household Income, 2 or More Races Householder","label":"Median Household Income, 2 or More Races Householder","symbol":{"color":[252,146,31,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}}},{"value":"Median Household Income, Some Other Race Householder","label":"Median Household Income, Some Other Race Householder","symbol":{"color":[255,222,62,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}}},{"value":"Median Household Income, American Indian or Alaska Native Householder","label":"Median Household Income, American Indian or Alaska Native Householder","symbol":{"color":[247,137,216,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}}},{"value":"Median Household Income, Native Hawaiian or Other Pacific Islander Householder","label":"Median Household Income, Native Hawaiian or Other Pacific Islander Householder","symbol":{"color":[60,175,153,255],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[153,153,153,255],"width":0.75,"type":"esriSLS","style":"esriSLSSolid"}}}]},"transparency":0}
HasZ: false
HasM: false
Has Attachments: false
Has Geometry Properties: false
HTML Popup Type: esriServerHTMLPopupTypeAsHTMLText
B19013e1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months - Estimate, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013m1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months - Margin of Error, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Be1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Black or African American Householder - Estimate, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Bm1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Black or African American Householder - Margin of Error, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Ce1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, American Indian and Alaska Native Householder - Estimate, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Cm1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, American Indian and Alaska Native Householder - Margin of Error, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013De1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Asian Householder - Estimate, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Dm1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Asian Householder - Margin of Error, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Ee1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Native Hawaiian and Other Pacific Islander Householder - Estimate, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Em1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Native Hawaiian and Other Pacific Islander Householder - Margin of Error, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Fe1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Some Other Race Householder - Estimate, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Fm1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Some Other Race Householder - Margin of Error, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Ge1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, 2 or More Races Householder - Estimate, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Gm1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, 2 or More Races Householder - Margin of Error, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013He1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Non-Hispanic White Householder - Estimate, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Hm1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Non-Hispanic White Householder - Margin of Error, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Ie1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Hispanic or Latino Householder - Estimate, SQL Type: sqlTypeOther, nullable: true, editable: true)
B19013Im1 (type: esriFieldTypeDouble, alias: Median Household Income in Past 12 Months, Hispanic or Latino Householder - Margin of Error, SQL Type: sqlTypeOther, nullable: true, editable: true)