# Baseball: Graph of Slugging Percentage

Baseball: Graph of Slugging Percentage

This is a graphical representation of slugging percentage (SLG), a very popular statistic in baseball. Slugging percentage is determined by calculating the number of total bases and dividing that number by the number of official at bats. Total bases are determined by giving four bases for a home run, three for a triple, two for a double, and one for a single. This graph allows you to manipulate each of these different types of hits, and the Demonstration calculates the slugging percentage accordingly. However, the graph itself uses total bases and at bats as the axes, creating a smooth graph that can effectively show the trends of this interesting statistic.