Our World Statistics Day conversations have been a great reminder of how much statistics can inform our lives. Do you have an example of how statistics has made a difference in your life? Share your story with the Community!
Choose Language Hide Translation Bar
Highlighted
Level II

## Graph builder Histogram adding count in Y axis

I genrated a histogram using the graph builder as shown in the attached plot. I want to add the count of the Y axis. Please show me how to add.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User

## Re: Graph builder Histogram adding count in Y axis

The way that I do that, is to create a new column in the data table, and call it "Count", setting each rows value to 1.  I then go to Graph Builder and select my x axis and then set my y axis to the count column, and it's statistic to sum.

There are soooooo many things you can do with Graph Builder, that there may be a Community member that can show a better way to solve your problem

Jim
3 REPLIES 3
Highlighted
Super User

## Re: Graph builder Histogram adding count in Y axis

The way that I do that, is to create a new column in the data table, and call it "Count", setting each rows value to 1.  I then go to Graph Builder and select my x axis and then set my y axis to the count column, and it's statistic to sum.

There are soooooo many things you can do with Graph Builder, that there may be a Community member that can show a better way to solve your problem

Jim
Highlighted
Level II

## Re: Graph builder Histogram adding count in Y axis

Thanks @txnelson. This solve my requuirement.

is there a way to add the N value in the histogram from the Graph builder?

Venkat

Highlighted
Super User

## Re: Graph builder Histogram adding count in Y axis

Sure, just specify "Label by Vlaue" for the labeling for the Bar specifications

Jim
Article Labels

There are no labels assigned to this post.