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
SAS Super FREQ
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

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

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
  • 1287 views
  • 0 likes
  • 3 in conversation