<?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 Modified Sankey visualization for path analysis in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modified-Sankey-visualization-for-path-analysis/m-p/597420#M48972</link>
    <description>&lt;P&gt;Hi, I don't know is this question was previously addressed by the users who asked about multi-stage Sankey diagrams or user flow displaying (classical marketing scenario of web-users navigating in a webshop from a start page to the final cart page and spotting the drop-out locations). It is though a valid diagramming scenario and has been made very popular by various analytics platform like Teradata or Qlik and has been also named as Path Sankey by various developers (&lt;A href="https://github.com/DaltonRuer/PathSankey" target="_blank" rel="noopener"&gt;https://github.com/DaltonRuer/PathSankey&lt;/A&gt;). The QlikSense implementations are also based on modified versions of d3.js similar to the Splunk app. The closest request that someone posted here is maybe here &lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-and-aggregate-user-behavior-data-in-a/m-p/482333" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-and-aggregate-user-behavior-data-in-a/m-p/482333&lt;/A&gt; (since I am a beginner Splunker it migt be the same topic) Basically it extends the two-layers source-target concept of standard d3.js to source-multiple_layers-target. The best example could be seen here&amp;nbsp;&lt;A href="https://bl.ocks.org/jeinarsson/e37aa55c3b0e11ae6fa1" target="_blank" rel="noopener"&gt;https://bl.ocks.org/jeinarsson/e37aa55c3b0e11ae6fa1&lt;/A&gt;&amp;nbsp;and one can imagine that the number of layers / nodes can be actually limited only by the CPU power and RAM (although javascript limitations exist in almost all browsers). A practical example (from my field of interest)) would be this: Suppose that we have a hospital with five units thorough which the patient must pass (not mandatory through all of them) and we want to see the patient referral flow between the doctors from this units; we would have for example 1000 patient IDs and for each of them we would have various flows based on referral from the first unit doctor to the last one he sees (of course not necessarily in the alphabetical order and not always five referrals) so we would display 5 layers in the Sankey chart, each layer displaying in a vertical manner the corresponding doctor names of the unit as nodes with a node thickness according to the number of incoming links from the previous linking nodes equal to count(patiend_id). It would be the same as&amp;nbsp;&lt;A href="https://bl.ocks.org/jeinarsson/e37aa55c3b0e11ae6fa1" target="_blank" rel="noopener"&gt;https://bl.ocks.org/jeinarsson/e37aa55c3b0e11ae6fa1&lt;/A&gt;&amp;nbsp;but with 5 layers and an variable number of nodes according to the inputlookup set. If anybody knows a way how to tweak the current Sankey app search&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| inputlookup referrals.csv

| stats count(patient_id) by 1st_Reffering_Layer 2nd_Referring_Layer&lt;/LI-CODE&gt;
&lt;P&gt;---maybe ??---&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| stats count(patient_id) by 2st_Reffering_Layer 3rd_Referring_Layer&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| stats count(patient_id) by 3rd_Reffering_Layer 4th_Referring_Layer&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;???&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| stats count(patient_id) by 4th_Reffering_Layer 5th_Referring_Layer&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;If the solution from &lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-and-aggregate-user-behavior-data-in-a/m-p/482333" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-and-aggregate-user-behavior-data-in-a/m-p/482333&lt;/A&gt; is exactly what I am asking for above please advise.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 16:17:40 GMT</pubDate>
    <dc:creator>jmurata</dc:creator>
    <dc:date>2022-05-11T16:17:40Z</dc:date>
    <item>
      <title>Modified Sankey visualization for path analysis</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Modified-Sankey-visualization-for-path-analysis/m-p/597420#M48972</link>
      <description>&lt;P&gt;Hi, I don't know is this question was previously addressed by the users who asked about multi-stage Sankey diagrams or user flow displaying (classical marketing scenario of web-users navigating in a webshop from a start page to the final cart page and spotting the drop-out locations). It is though a valid diagramming scenario and has been made very popular by various analytics platform like Teradata or Qlik and has been also named as Path Sankey by various developers (&lt;A href="https://github.com/DaltonRuer/PathSankey" target="_blank" rel="noopener"&gt;https://github.com/DaltonRuer/PathSankey&lt;/A&gt;). The QlikSense implementations are also based on modified versions of d3.js similar to the Splunk app. The closest request that someone posted here is maybe here &lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-and-aggregate-user-behavior-data-in-a/m-p/482333" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-and-aggregate-user-behavior-data-in-a/m-p/482333&lt;/A&gt; (since I am a beginner Splunker it migt be the same topic) Basically it extends the two-layers source-target concept of standard d3.js to source-multiple_layers-target. The best example could be seen here&amp;nbsp;&lt;A href="https://bl.ocks.org/jeinarsson/e37aa55c3b0e11ae6fa1" target="_blank" rel="noopener"&gt;https://bl.ocks.org/jeinarsson/e37aa55c3b0e11ae6fa1&lt;/A&gt;&amp;nbsp;and one can imagine that the number of layers / nodes can be actually limited only by the CPU power and RAM (although javascript limitations exist in almost all browsers). A practical example (from my field of interest)) would be this: Suppose that we have a hospital with five units thorough which the patient must pass (not mandatory through all of them) and we want to see the patient referral flow between the doctors from this units; we would have for example 1000 patient IDs and for each of them we would have various flows based on referral from the first unit doctor to the last one he sees (of course not necessarily in the alphabetical order and not always five referrals) so we would display 5 layers in the Sankey chart, each layer displaying in a vertical manner the corresponding doctor names of the unit as nodes with a node thickness according to the number of incoming links from the previous linking nodes equal to count(patiend_id). It would be the same as&amp;nbsp;&lt;A href="https://bl.ocks.org/jeinarsson/e37aa55c3b0e11ae6fa1" target="_blank" rel="noopener"&gt;https://bl.ocks.org/jeinarsson/e37aa55c3b0e11ae6fa1&lt;/A&gt;&amp;nbsp;but with 5 layers and an variable number of nodes according to the inputlookup set. If anybody knows a way how to tweak the current Sankey app search&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| inputlookup referrals.csv

| stats count(patient_id) by 1st_Reffering_Layer 2nd_Referring_Layer&lt;/LI-CODE&gt;
&lt;P&gt;---maybe ??---&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| stats count(patient_id) by 2st_Reffering_Layer 3rd_Referring_Layer&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| stats count(patient_id) by 3rd_Reffering_Layer 4th_Referring_Layer&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;???&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| stats count(patient_id) by 4th_Reffering_Layer 5th_Referring_Layer&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;If the solution from &lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-and-aggregate-user-behavior-data-in-a/m-p/482333" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-search-and-aggregate-user-behavior-data-in-a/m-p/482333&lt;/A&gt; is exactly what I am asking for above please advise.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 16:17:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Modified-Sankey-visualization-for-path-analysis/m-p/597420#M48972</guid>
      <dc:creator>jmurata</dc:creator>
      <dc:date>2022-05-11T16:17:40Z</dc:date>
    </item>
  </channel>
</rss>

