BookmarkSubscribeRSS Feed
helloSAS
Obsidian | Level 7

 

I have below table. I just need a simple bar graph with date on X-Axis and Volume on Y-Axis. So, I will get 12 bars.

 

date Volume
6/30/2015 14,400
7/31/2015 13,996
8/31/2015 14,935
9/30/2015 15,502
10/30/2015 15,944
11/30/2015 17,120
12/31/2015 16,698
1/29/2016 20,028
2/29/2016 19,685
3/31/2016 21,882
4/29/2016 22,498
5/31/2016 23,100
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
You can either use PROC GCHART if you have SAS/GRAPH software or you can use PROC SGPLOT if you only have Base SAS. PROC SGPLOT is probably the simpler syntax, if you are new to SAS. There are a lot of good examples in the documentation and in previous forum postings.

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1355 views
  • 0 likes
  • 3 in conversation