<?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: SAS Plotter Update &amp;quot;Sankey diagram&amp;quot; in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931923#M24698</link>
    <description>the "raw" dataset is not included in SAS plotter package. sorry. I will add the raw dataset at next version.</description>
    <pubDate>Wed, 12 Jun 2024 15:26:57 GMT</pubDate>
    <dc:creator>SupermanJP</dc:creator>
    <dc:date>2024-06-12T15:26:57Z</dc:date>
    <item>
      <title>SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931420#M24684</link>
      <description>&lt;P&gt;Hi. I'm SupermanJP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I updated SAS plotter,&amp;nbsp; modern data visualization package for SAS base.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Superman-jp/SAS_Plotter" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/Superman-jp/SAS_Plotter&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;document&lt;/P&gt;&lt;P&gt;&lt;A href="https://superman-jp.github.io/SAS_Plotter/" target="_self" rel="nofollow noopener noreferrer"&gt;https://superman-jp.github.io/SAS_Plotter/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;new features&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;new plots " sankey diagram" was available!&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ezgif-2-7d9e0864f0.png" style="width: 946px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97134i0DFC19B69E4A68C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="ezgif-2-7d9e0864f0.png" alt="ezgif-2-7d9e0864f0.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sankey_basic+(1).png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97135i78A0115F4E1B752A/image-size/large?v=v2&amp;amp;px=999" role="button" title="sankey_basic+(1).png" alt="sankey_basic+(1).png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN&gt;official mail address: sasplotter@picolabs.jp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;official web site (Japanese)&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://picolabs.jp/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://picolabs.jp&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Please feel free to contact me if you have any bug reports, feedback, or requests.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jun 2024 06:18:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931420#M24684</guid>
      <dc:creator>SupermanJP</dc:creator>
      <dc:date>2024-06-09T06:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931558#M24688</link>
      <description>&lt;P&gt;Hello SupermanJP,&lt;/P&gt;&lt;P&gt;Nice work!&lt;/P&gt;&lt;P&gt;How to get your input data set named "raw" to your code?&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 14:05:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931558#M24688</guid>
      <dc:creator>t75wez1</dc:creator>
      <dc:date>2024-06-10T14:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931648#M24689</link>
      <description>&lt;P&gt;I apologize for the lack of clarity. i will revise the document.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"raw" dataset means input data you want to make sankey.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you want to sankey using this macro, prepare the input data with structure.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SupermanJP_0-1718067631371.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97200i84C2A62FC5087A0D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SupermanJP_0-1718067631371.png" alt="SupermanJP_0-1718067631371.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 01:01:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931648#M24689</guid>
      <dc:creator>SupermanJP</dc:creator>
      <dc:date>2024-06-11T01:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931786#M24692</link>
      <description>&lt;P&gt;Sorry I mean to find the SAS data set named "raw" in your SAS code to replicate the graph here.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 19:33:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931786#M24692</guid>
      <dc:creator>t75wez1</dc:creator>
      <dc:date>2024-06-11T19:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931923#M24698</link>
      <description>the "raw" dataset is not included in SAS plotter package. sorry. I will add the raw dataset at next version.</description>
      <pubDate>Wed, 12 Jun 2024 15:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/931923#M24698</guid>
      <dc:creator>SupermanJP</dc:creator>
      <dc:date>2024-06-12T15:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/932361#M24706</link>
      <description>&lt;P&gt;Examples are a *lot* more useful, when they include the sample data!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 02:50:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/932361#M24706</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2024-06-14T02:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/932926#M24717</link>
      <description>OK</description>
      <pubDate>Wed, 19 Jun 2024 04:29:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/932926#M24717</guid>
      <dc:creator>SupermanJP</dc:creator>
      <dc:date>2024-06-19T04:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/932927#M24718</link>
      <description>if you have additional idea, Please feel free to contact me.&lt;BR /&gt;&lt;BR /&gt;by the way, you are so handsome.</description>
      <pubDate>Wed, 19 Jun 2024 04:55:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/932927#M24718</guid>
      <dc:creator>SupermanJP</dc:creator>
      <dc:date>2024-06-19T04:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/932930#M24719</link>
      <description>&lt;P&gt;Raw data should look like in this example this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data raw;
subjID+1;
input day0 day30 day60 day120;
cards;
0 2 3 4
0 2 3 4
0 2 3 4
2 1 2 4
2 1 2 4
2 1 2 4
2 1 2 4
2 1 2 4
2 1 4 3
4 3 2 1
4 3 2 1
4 3 2 1
4 3 2 1
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Basically each row (each subjid) indicates which drug was taken by a given patient during given time, e.g.&lt;/P&gt;
&lt;P&gt;If patient 1 took drug 0 on the day 0, then drug 2 on the day 30, drug 3 on the day 60 and drug4 on day 120, the observation will be:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data raw;
input subjID day0 day30 day60 day120;
cards;
1 0 2 3 4
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Result of the following snippet:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
value domainf
1="day0"
2="day30"
3="day60"
4="day120";

value nodef
0="Drug A"
1="Drug B"
2="Drug C"
3="Drug D"
4="Drug E"
;
run;


data raw;
subjID+1;
input day0 day30 day60 day120;
format day0 day30 day60 day120 nodef.;
cards;
0 2 3 4
0 2 3 4
0 2 3 4
2 1 2 4
2 1 2 4
2 1 2 4
2 1 2 4
2 1 2 4
2 1 4 3
4 3 2 1
4 3 2 1
4 3 2 1
4 3 2 1
;
run;

ods graphics / height=15cm width=20cm imagefmt=svg imagename="sankey_basic" noborder;
ods listing gpath="R:\";
ods html;
%sankey(
    data=raw,
    domain=day0 day30 day60 day120,
    domainfmt=domainf
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yabwon_0-1718780403630.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97605i813B29F863A55E34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yabwon_0-1718780403630.png" alt="yabwon_0-1718780403630.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 07:00:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/932930#M24719</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-06-19T07:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/932935#M24720</link>
      <description>&lt;P&gt;One more example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data raw;
  call streaminit(123);
  do subjID = 1 to 1000;
    array A day0 day30 day60 day120;
    format day0 day30 day60 day120 nodef.;
      do over A;
        A = rand('integer',0,4);
      end;
    output;
  end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which, with the same snippet,&amp;nbsp; produces this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yabwon_0-1718781741110.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/97609i478F33CF7E14D660/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yabwon_0-1718781741110.png" alt="yabwon_0-1718781741110.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 07:22:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/932935#M24720</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-06-19T07:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/933098#M24721</link>
      <description>Thanks. Very informative.&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Jun 2024 09:19:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/933098#M24721</guid>
      <dc:creator>SupermanJP</dc:creator>
      <dc:date>2024-06-20T09:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935010#M24755</link>
      <description>&lt;P&gt;Hello SupermanJP,&lt;/P&gt;&lt;P&gt;1)How to add a title and footnote into the Sankey charts?&lt;/P&gt;&lt;P&gt;2)Howe to adjust the Sankey charts wider?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 17:43:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935010#M24755</guid>
      <dc:creator>t75wez1</dc:creator>
      <dc:date>2024-07-08T17:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935086#M24756</link>
      <description>1) you can use title statement or footnote statement. &lt;BR /&gt;but you want to add title or footnote into output image?&lt;BR /&gt;if you mean , this macro is not contained setting the title and footnote. &lt;BR /&gt;&lt;BR /&gt;2) you mean you want to adjust the width of output image generated by sankey macro? &lt;BR /&gt;could you tell me the details?</description>
      <pubDate>Tue, 09 Jul 2024 02:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935086#M24756</guid>
      <dc:creator>SupermanJP</dc:creator>
      <dc:date>2024-07-09T02:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935089#M24757</link>
      <description>&lt;P&gt;1)I tried to add title and footnote statements in the "proc template" of your Sankey macro code but I couldn't make it work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)I expect to adjust the width of Sankey chart similar to ods statement below used for "proc sgplot".&lt;/P&gt;&lt;P&gt;"ods graphics /imagefmt=png imagename="&amp;amp;name"&lt;BR /&gt;width=1500px height=800px;"&lt;/P&gt;&lt;P&gt;Thanks ,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 03:55:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935089#M24757</guid>
      <dc:creator>t75wez1</dc:creator>
      <dc:date>2024-07-09T03:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935090#M24758</link>
      <description>1) title string can be add by entrytitle statement in graph template. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0zp1mg0ard2dan17sohm8jb773n.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatgraph/n0zp1mg0ard2dan17sohm8jb773n.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;but   I will add the title and footnote parameter to the sankey macro. &lt;BR /&gt;&lt;BR /&gt;2 ) &lt;BR /&gt;submit below code before executing the sankey macro.&lt;BR /&gt;"ods graphics /imagefmt=png imagename="&amp;amp;name"&lt;BR /&gt;width=1500px height=800px;"</description>
      <pubDate>Tue, 09 Jul 2024 04:15:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935090#M24758</guid>
      <dc:creator>SupermanJP</dc:creator>
      <dc:date>2024-07-09T04:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935096#M24759</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sankey_basic1.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/98241iA3A40CA15E91BB6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sankey_basic1.png" alt="sankey_basic1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 05:47:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935096#M24759</guid>
      <dc:creator>SupermanJP</dc:creator>
      <dc:date>2024-07-09T05:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935148#M24760</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you so much for your insight.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 13:19:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935148#M24760</guid>
      <dc:creator>t75wez1</dc:creator>
      <dc:date>2024-07-09T13:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935708#M24781</link>
      <description>　version 1.3 is available. I am revising document but program can be use.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/SASPAC/sasplotter" target="_blank"&gt;https://github.com/SASPAC/sasplotter&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;please check the md files. &lt;BR /&gt;&lt;BR /&gt;I added "note" parameter . this parameter insert the text statement into the graph template and display title or footnote.</description>
      <pubDate>Sat, 13 Jul 2024 15:00:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935708#M24781</guid>
      <dc:creator>SupermanJP</dc:creator>
      <dc:date>2024-07-13T15:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935713#M24782</link>
      <description>&lt;P&gt;Hi Superman JP,&lt;/P&gt;&lt;P&gt;I saw&lt;SPAN&gt;&amp;nbsp;"note=," parameter&amp;nbsp;in version 1.3 but don't see your updated SAS Sankey macro code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Looking forward to seeing how to use it exactly in Sankey document.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jul 2024 18:29:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935713#M24782</guid>
      <dc:creator>t75wez1</dc:creator>
      <dc:date>2024-07-13T18:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Plotter Update "Sankey diagram"</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935718#M24784</link>
      <description>&lt;P&gt;Here is an instruction how to get version 1.3 in a form of a SAS package:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/SASPAC/sasplotter/blob/main/sasplotter.md#install" target="_blank"&gt;https://github.com/SASPAC/sasplotter/blob/main/sasplotter.md#install&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a snippet how to add footnote and title:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*--------------------------------------------------------;
*sankey example;
*--------------------------------------------------------;

proc format;
value domainf
1="day0"
2="day30"
3="day60"
4="day120";

value nodef
0="Drug A"
1="Drug B"
2="Drug C"
3="Drug D"
4="Drug E"
;
run;


data raw;
usubjid+1;
input day0 day30 day60 day120;
format day0 day30 day60 day120 nodef.;
cards;
0 2 3 4
0 2 3 4
0 2 3 4
2 1 2 4
2 1 2 4
2 1 2 4
2 1 2 4
2 1 2 4
2 1 4 3
4 3 2 1
4 3 2 1
4 3 2 1
4 3 2 1
;
run;
*--------------------------------------------------------;
*basic sankey;
*--------------------------------------------------------;
ods graphics / height=15cm width=20cm imagefmt=png imagename="sankey_basic" noborder;
title "Bacic Sankey";
ods html;
%sankey(
    data=raw,
    domain=day0 day30 day60 day120,
    domainfmt=domainf,
	note=%nrstr(entrytitle 'your title here';
			    entryfootnote halign=left 'your footnote here';
				entryfootnote halign=left 'your footnote here 2';)
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 13 Jul 2024 20:01:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/SAS-Plotter-Update-quot-Sankey-diagram-quot/m-p/935718#M24784</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-07-13T20:01:08Z</dc:date>
    </item>
  </channel>
</rss>

