<?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: How to change the color of the strip in a Sankey Diagram based on the text displayed? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-color-of-the-strip-in-a-Sankey-Diagram-based/m-p/230761#M14315</link>
    <description>&lt;P&gt;Hi apurvsrivastav,&lt;/P&gt;

&lt;P&gt;I don't think it's the perfect answer - but I post it as one, because the question is not Splunk related as well &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
Have a look at the posts I found using a simple google search &lt;A href="https://www.google.com/webhp?hl=en#hl=en&amp;amp;q=d3+sankey+change+color+based+on+value"&gt;https://www.google.com/webhp?hl=en#hl=en&amp;amp;q=d3+sankey+change+color+based+on+value&lt;/A&gt; , because you must do this in either the &lt;CODE&gt;sankey.js&lt;/CODE&gt; or using &lt;CODE&gt;css&lt;/CODE&gt; but not in Splunk itself:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://stackoverflow.com/questions/22439891/d3-sankey-chord-colors"&gt;http://stackoverflow.com/questions/22439891/d3-sankey-chord-colors&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://stackoverflow.com/questions/13006712/d3-js-sankey-diagram-rectangles-fill-color"&gt;http://stackoverflow.com/questions/13006712/d3-js-sankey-diagram-rectangles-fill-color&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://stackoverflow.com/questions/30614921/changing-the-colour-of-the-node-in-sankey-diagram-using-d3-js-library"&gt;http://stackoverflow.com/questions/30614921/changing-the-colour-of-the-node-in-sankey-diagram-using-d3-js-library&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2015 21:38:14 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2015-11-10T21:38:14Z</dc:date>
    <item>
      <title>How to change the color of the strip in a Sankey Diagram based on the text displayed?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-color-of-the-strip-in-a-Sankey-Diagram-based/m-p/230760#M14314</link>
      <description>&lt;P&gt;I want to change the color of the strip between two nodes depending upon the content (display text) of nodes.&lt;/P&gt;

&lt;P&gt;So for example if one of the nodes (in Sankey Daigram) has "Error" in its name, then color of strip linked to it must change to RED.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 06:20:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-color-of-the-strip-in-a-Sankey-Diagram-based/m-p/230760#M14314</guid>
      <dc:creator>apurvsrivastav</dc:creator>
      <dc:date>2015-11-10T06:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the color of the strip in a Sankey Diagram based on the text displayed?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-color-of-the-strip-in-a-Sankey-Diagram-based/m-p/230761#M14315</link>
      <description>&lt;P&gt;Hi apurvsrivastav,&lt;/P&gt;

&lt;P&gt;I don't think it's the perfect answer - but I post it as one, because the question is not Splunk related as well &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
Have a look at the posts I found using a simple google search &lt;A href="https://www.google.com/webhp?hl=en#hl=en&amp;amp;q=d3+sankey+change+color+based+on+value"&gt;https://www.google.com/webhp?hl=en#hl=en&amp;amp;q=d3+sankey+change+color+based+on+value&lt;/A&gt; , because you must do this in either the &lt;CODE&gt;sankey.js&lt;/CODE&gt; or using &lt;CODE&gt;css&lt;/CODE&gt; but not in Splunk itself:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://stackoverflow.com/questions/22439891/d3-sankey-chord-colors"&gt;http://stackoverflow.com/questions/22439891/d3-sankey-chord-colors&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://stackoverflow.com/questions/13006712/d3-js-sankey-diagram-rectangles-fill-color"&gt;http://stackoverflow.com/questions/13006712/d3-js-sankey-diagram-rectangles-fill-color&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://stackoverflow.com/questions/30614921/changing-the-colour-of-the-node-in-sankey-diagram-using-d3-js-library"&gt;http://stackoverflow.com/questions/30614921/changing-the-colour-of-the-node-in-sankey-diagram-using-d3-js-library&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 21:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-the-color-of-the-strip-in-a-Sankey-Diagram-based/m-p/230761#M14315</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-11-10T21:38:14Z</dc:date>
    </item>
  </channel>
</rss>

