<?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: Making Charts in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872883#M344869</link>
    <description>&lt;P&gt;Just to be persnickety, did you use one of the survey procs to use the sample design and weighting data in the BRSS data to get the weighted population counts, or possibly another tool like SUDAAN to deal with the complex sample design?&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2023 17:39:54 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-04-28T17:39:54Z</dc:date>
    <item>
      <title>Making Charts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872739#M344795</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to analyze the BRFSS 2013 data and want to create a plot like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a_matharu_0-1682663656134.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83357i1673034B6929D7DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a_matharu_0-1682663656134.png" alt="a_matharu_0-1682663656134.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can someone guide me on how to create a graph like this in SAS.? I tried using the code mentioned below -&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics / reset width=6.4in height=4.8in imagemap;&lt;/P&gt;&lt;P&gt;proc sgplot data=WORK.BRFSS_13N;&lt;BR /&gt;vbar SEX_N / group=educatg group= _RFSMOKN groupdisplay=cluster datalabel;&lt;BR /&gt;yaxis grid;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods graphics / reset;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It created a graph with Education level at X-axis and grouped the data by SEX but I need to add another variable Smoking into the picture.&lt;/P&gt;&lt;P&gt;Kindly guide me. Thank you for your time and help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 06:37:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872739#M344795</guid>
      <dc:creator>a_matharu</dc:creator>
      <dc:date>2023-04-28T06:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Making Charts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872741#M344797</link>
      <description>&lt;P&gt;did you try with SGPANEL? (&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/p17wwoehcyc6mxn1hpcgxy8ixw6w.htm)" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/p17wwoehcyc6mxn1hpcgxy8ixw6w.htm)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 07:04:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872741#M344797</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-04-28T07:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Making Charts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872743#M344798</link>
      <description>&lt;P&gt;SGPANEL example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgpanel data=sashelp.prdsale;
  panelby year / columns=2;

  vbar product / response=actual 
  GROUP=region GROUPDISPLAY=CLUSTER 
  ;
run;
title;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Gives:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yabwon_0-1682665983517.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83358i2C1C14ED269AD512/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yabwon_0-1682665983517.png" alt="yabwon_0-1682665983517.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 07:13:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872743#M344798</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-04-28T07:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Making Charts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872866#M344859</link>
      <description>Thank you for your kind reply. That worked.!</description>
      <pubDate>Fri, 28 Apr 2023 16:25:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872866#M344859</guid>
      <dc:creator>a_matharu</dc:creator>
      <dc:date>2023-04-28T16:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Making Charts</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872883#M344869</link>
      <description>&lt;P&gt;Just to be persnickety, did you use one of the survey procs to use the sample design and weighting data in the BRSS data to get the weighted population counts, or possibly another tool like SUDAAN to deal with the complex sample design?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 17:39:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Making-Charts/m-p/872883#M344869</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-04-28T17:39:54Z</dc:date>
    </item>
  </channel>
</rss>

