<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why am I not seeing any colors in my choropleth map? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301747#M19262</link>
    <description>&lt;P&gt;@aartivig289 - Please "Accept" the answer by vasanthmss to resolve your question. Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jul 2017 21:30:02 GMT</pubDate>
    <dc:creator>aaraneta_splunk</dc:creator>
    <dc:date>2017-07-07T21:30:02Z</dc:date>
    <item>
      <title>Why am I not seeing any colors in my choropleth map?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301740#M19255</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am pretty new to Splunk and need some help with the Choropleth maps. &lt;BR /&gt;
I have a requirement to present the transaction charge volume per country as a choropleth map in my Splunk dashboard.&lt;BR /&gt;
I am using a csv lookup to read the values from a csv.&lt;BR /&gt;
The fields are:&lt;BR /&gt;
1. "market" with values - USA, Australia, UK, Germany, Spain and France&lt;BR /&gt;
2. "Charge Volume" - for multiple clients per market &lt;/P&gt;

&lt;P&gt;When I search using the following, I am getting the desired search result:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup ChargeVolume.csv | chart sum(Charge Volume (USD)) as "Charge Volume" by Market| Rename "Market" as "Country"| geom geo_countries featureIdField="Country"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Result:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3182iD7610FD1BD1EB44A/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;But in visualization, I do not get any colors on the map.&lt;BR /&gt;
I have set the format as "Categorical".&lt;BR /&gt;
I need help with following:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;I am not getting any colors on the map for the 6 countries I mentioned above.&lt;/LI&gt;
&lt;LI&gt;In the legend I need the country name with charge volume against each color.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3183iF2DC0279FF364C25/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 20:07:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301740#M19255</guid>
      <dc:creator>aartivig289</dc:creator>
      <dc:date>2017-07-07T20:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not seeing any colors in my choropleth map?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301741#M19256</link>
      <description>&lt;P&gt;Country name should be camel case , check the below sample, &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|makeresults | eval Country=split("India,France,Spain,Germany",",") | mvexpand Country  | streamstats count   | geom geo_countries  featureIdField="Country"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Check your results are giving any geom field with values or empty, looks like you are not getting any geom values. Try to change the values and check. &lt;/P&gt;

&lt;P&gt;Expected : Spain &lt;BR /&gt;
Apart from any values SPAIN / spain ,, seems not working. &lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 20:36:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301741#M19256</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-07-07T20:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not seeing any colors in my choropleth map?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301742#M19257</link>
      <description>&lt;P&gt;Thanks Vasanth&lt;BR /&gt;
Earlier the search was giving an empty Geom field. &lt;/P&gt;

&lt;P&gt;Now I updated my query to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup ChargeVolume.csv | chart sum(Charge Volume (USD)) as "Charge Volume" by Market| Rename "Market" as "Country"| eval Country=split("USA,United Kingdom,Spain,France,Germany",",") |mvexpand Country| geom geo_countries featureIdField="Country" 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Because of the Split, I am getting the sum of charge volumes for one country against all others as well. Also the chloropeth is showing a single color for countries since it is considering the highest charge volume for all markets.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3177iE7CEF492F7600617/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3178iDFA320957E6DEE6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 21:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301742#M19257</guid>
      <dc:creator>aartivig289</dc:creator>
      <dc:date>2017-07-07T21:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not seeing any colors in my choropleth map?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301743#M19258</link>
      <description>&lt;P&gt;Thanks Vasanth.&lt;BR /&gt;
I was getting empty geom field before.&lt;/P&gt;

&lt;P&gt;I updated my query as follows:&lt;BR /&gt;
| inputlookup ChargeVolume.csv | chart sum(Charge Volume (USD)) as "Charge Volume" by Market| Rename "Market" as "Country"| eval Country=split("USA,United Kingdom,Spain,France,Germany, Australia",",") |mvexpand Country| geom geo_countries featureIdField="Country"&lt;/P&gt;

&lt;P&gt;I am now getting same one charge volume value against all 6 markets, for all the different values of Charge volume. No Geom is getting generated for USA and Australia&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3179iA4515D30776A0BAC/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Also, Only one charge volume value is getting highlighted in the chloropeth for Spain, France, Germany and UK. &lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3180i5888F51F928509CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 21:13:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301743#M19258</guid>
      <dc:creator>aartivig289</dc:creator>
      <dc:date>2017-07-07T21:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not seeing any colors in my choropleth map?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301744#M19259</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| inputlookup ChargeVolume.csv | chart sum(Charge Volume (USD)) as "Charge Volume" by Market| Rename "Market" as "Country" | eval Country=case(Country="FRANCE", "France",Country=AUSTRALIA, "Australia" ,1=1,Country) | geom geo_countries featureIdField="Country"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have changed only France and Australia . Try to change the others, &lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 21:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301744#M19259</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-07-07T21:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not seeing any colors in my choropleth map?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301745#M19260</link>
      <description>&lt;P&gt;Thanks Vasanth !&lt;BR /&gt;
It works beautifully &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 21:27:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301745#M19260</guid>
      <dc:creator>aartivig289</dc:creator>
      <dc:date>2017-07-07T21:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not seeing any colors in my choropleth map?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301746#M19261</link>
      <description>&lt;P&gt;Try this search, &lt;/P&gt;

&lt;P&gt;| inputlookup ChargeVolume.csv | chart sum(Charge Volume (USD)) as "Charge Volume" by Market| Rename "Market" as "Country" | eval Country=case(Country="FRANCE", "France",Country=AUSTRALIA, "Australia" ,1=1,Country) | geom geo_countries featureIdField="Country"&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 21:29:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301746#M19261</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2017-07-07T21:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I not seeing any colors in my choropleth map?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301747#M19262</link>
      <description>&lt;P&gt;@aartivig289 - Please "Accept" the answer by vasanthmss to resolve your question. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 21:30:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Why-am-I-not-seeing-any-colors-in-my-choropleth-map/m-p/301747#M19262</guid>
      <dc:creator>aaraneta_splunk</dc:creator>
      <dc:date>2017-07-07T21:30:02Z</dc:date>
    </item>
  </channel>
</rss>

