<?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 do I create a bar graph using SAS? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-create-a-bar-graph-using-SAS/m-p/527946#M17683</link>
    <description>&lt;P&gt;Welcome to the SAS communities &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see se blog post &lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2016/11/27/getting-started-sgplot-part-2-vbar/" target="_self"&gt;Getting started with SGPLOT&lt;/A&gt;&amp;nbsp;for an introduction to the VBAR Statement in PROC SGPLOT.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jan 2019 08:41:50 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2019-01-17T08:41:50Z</dc:date>
    <item>
      <title>How do I create a bar graph using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-create-a-bar-graph-using-SAS/m-p/527930#M17681</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to plot a bar graph using SAS, and so far I have the following code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DATA auto ;&lt;BR /&gt;&amp;nbsp; INPUT resource $&amp;nbsp; percent ;&lt;BR /&gt;CARDS;&lt;BR /&gt;Google 73.6&lt;BR /&gt;Library 13.6&lt;BR /&gt;Wikipedia 9.4&lt;BR /&gt;Other 3.4&lt;BR /&gt;;&lt;BR /&gt;TITLE 'Simple Vertical Bar Chart ';&lt;BR /&gt;PROC SGPLOT DATA=auto;&lt;BR /&gt;vbar resource;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the student&amp;nbsp;version of SAS provided free through my university hence the usage of SGPLOT. When I run the code, however, instead of showing the percentages of each resource, it plots the frequencies so all the bars show as 1 unit length. I am trying to plot resources, the independent variable, vs the percentage, the dependent variable. I tried using vbar resource/ DISCRETE, but received an error message stating that I can only use DISCRETE to offset the bins. I would appreciate any tips and additional resources to consult as I am new to SAS. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 06:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-create-a-bar-graph-using-SAS/m-p/527930#M17681</guid>
      <dc:creator>Fara_I</dc:creator>
      <dc:date>2019-01-17T06:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a bar graph using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-create-a-bar-graph-using-SAS/m-p/527933#M17682</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
DATA auto ;
  INPUT resource $  percent ;
CARDS;
Google 73.6
Library 13.6
Wikipedia 9.4
Other 3.4
;
TITLE 'Simple Vertical Bar Chart ';
PROC SGPLOT DATA=auto;
vbar resource/respose=percent datalabel nostatlabel;
run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Jan 2019 07:03:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-create-a-bar-graph-using-SAS/m-p/527933#M17682</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-01-17T07:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a bar graph using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-create-a-bar-graph-using-SAS/m-p/527946#M17683</link>
      <description>&lt;P&gt;Welcome to the SAS communities &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see se blog post &lt;A href="https://blogs.sas.com/content/graphicallyspeaking/2016/11/27/getting-started-sgplot-part-2-vbar/" target="_self"&gt;Getting started with SGPLOT&lt;/A&gt;&amp;nbsp;for an introduction to the VBAR Statement in PROC SGPLOT.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 08:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-create-a-bar-graph-using-SAS/m-p/527946#M17683</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-01-17T08:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a bar graph using SAS?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-create-a-bar-graph-using-SAS/m-p/528212#M17684</link>
      <description>&lt;P&gt;Thank you for your response!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 23:49:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-create-a-bar-graph-using-SAS/m-p/528212#M17684</guid>
      <dc:creator>Fara_I</dc:creator>
      <dc:date>2019-01-17T23:49:59Z</dc:date>
    </item>
  </channel>
</rss>

