Forum Discussion

Dalton Emberton's avatar
Dalton Emberton
Copper Contributor
Oct 29, 2018

Map Charts with Counties

Okay, so I'm making a project to show data for each county in Kentucky. My table is formatted with Column A having the heading "County" and Column B having the heading "Acres Used for Farm Land"--the data. However, when I go to the recommended charts, It only gives me the option to use a United States map instead of a Kentucky state map. To make matters worse, it is showing two of the counties in different states (one in Arkansas and another in Indiana). I went through and added ", Kentucky" to the end of all the counties; however, this did not fix the problem. Any answers or possible troubleshooting I could do? Pictures are attached. Thanks

27 Replies

  • Kevin32312's avatar
    Kevin32312
    Copper Contributor

    I am having the same issue with Counties in Florida, where some show in other states even though the series has a field with Florida listed and the county selection is via a drop box. And some counties don't even generate a map even though they are spelled correctly, like St. Johns and St. Lucie Counties.

     

    So if I select Hamilton County from the drop down list and in the very next cell it says FL or Florida, the map chart still shows Hamilton county Iowa and not Hamilton County Florida.

     

    • williambryantFDOT's avatar
      williambryantFDOT
      Copper Contributor

      Hamilton, St Lucie, and St johns plot fine for me. Lake County is one I cannot plot.

      • Kevin32312's avatar
        Kevin32312
        Copper Contributor

        williambryantFDOT, this is how we have them set in our excel file:

        County
        Alachua County, Florida
        Baker County, Florida
        Bay County, Florida
        Bradford County, Florida
        Brevard County, Florida
        Broward County, Florida
        Calhoun County, Florida
        Charlotte County, Florida
        Citrus County, Florida
        Clay County, Florida
        Collier County, Florida
        Columbia County, Florida
        Miami-Dade County, Florida
        DeSoto County, Florida
        Dixie County, Florida
        Duval County, Florida
        Escambia County, Florida
        Flagler County, Florida
        Franklin County, Florida
        Gadsden County, Florida
        Gilchrist County, Florida
        Glades County, Florida
        Gulf County, Florida
        Hamilton County, Florida
        Hardee County, Florida
        Hendry County, Florida
        Hernando County, Florida
        Highlands County, Florida
        Hillsborough County, Florida
        Holmes County, Florida
        Indian River County, Florida
        Jackson County, Florida
        Jefferson County, Florida
        Lafayette County, Florida
        Lake County, Florida
        Lee County, Florida
        Leon County, Florida
        Levy County, Florida
        Liberty County, Florida
        Madison County, Florida
        Manatee County, Florida
        Marion County, Florida
        Martin County, Florida
        Monroe County, Florida
        Nassau County, Florida
        Okaloosa County, Florida
        Okeechobee County, Florida
        Orange County, Florida
        Osceola County, Florida
        Palm Beach County, Florida
        Pasco County, Florida
        Pinellas County, Florida
        Polk County, Florida
        Putnam County, Florida
        St. Johns County, Florida
        St. Lucie County, Florida
        Santa Rosa County, Florida
        Sarasota County, Florida
        Seminole County, Florida
        Sumter County, Florida
        Suwannee County, Florida
        Taylor County, Florida
        Union County, Florida
        Volusia County, Florida
        Wakulla County, Florida
        Walton County, Florida
        Washington County, Florida
    • EdFullerPA's avatar
      EdFullerPA
      Copper Contributor

      Kevin32312 

       

      Ive been having the same issue for counties in PA. Ive tried 100 different ways. Ive made county maps for PA using excel in the past, but it no longer works.

  • Hello,

     

    if you add a column for State and enter Kentucky in all cells, then the map can be configured to show Kentucky only and the counties will be plotted correctly.

     

     

    • Dalton Emberton's avatar
      Dalton Emberton
      Copper Contributor

      Thank You so much!! Life Saver. I just have one more question. I want to change the legend for the map chart. It is auto set for the faded shades as the numbers fall; however, I would like to seperate the data into seperate categories. For example, I want 0-60,000 to be one color, 60,001-120,000 to be another, and so on. Is there a way to do this?

      • IngeborgHawighorst's avatar
        IngeborgHawighorst
        MVP

        You can't have distinct colors for a range of numbers, but you can define up to three colors in a gradient.

         

        In the Format Data Series panel click on Series Color and select Diverging (3-color). You can change the colors and you can change the minimum, midpoint and maximum to exact numbers. Set Minimum to 0, midpoint to 60000 and maximum to 120000.

         

        If you don't like the gradients, then you need to add a column to your data table and use formulas to translate 0 - 60,000 to 1, 60,001 - 120,000 to 2, 120,001 to whatever to 3, etc. Then use the column with the values 1, 2, 3 to plot the chart and set the colors for these numbers as described above.

         

        In the following screenshot I have added a formula to the data table to generate numbers from 1 to 3 for the number ranges in column C, using

         

        =IFS([@number]<33,1,[@number]<66,2,TRUE,3)

         

        Then I changed the chart series definition to plot the numbers from column D instead of C and gave each of the three number a distinct color.

         

         

        If you want more than three distinct colors, use the "lowest value", "middle value", and "highest value" instead of numbers and set your thresholds. With "x" distinct number of values in column D, there will be "x" distinct colors in the map, but they will be a mix of the "start" and the "end" color. You won't  be able to define "x" exact hues.

         

Resources