Baseball: Graph of Slugging Percentage

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

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.

Contributed by: Danny Strockis (March 2011)
Open content licensed under CC BY-NC-SA



All statistics were acquired from

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.