Okay, I just ended up creating a list of the digits of pi and collecting the correct digit from that list. I am going to leave this up in case anyone wants to play around with the equation.
This was graphed in desmos and should work there without an reconfiguring.
I created the following equation below in order to be able to represent each individual digit of pi using graphing software. I should specify that this is one part of a larger equation. The reason that I need it to work in graphing software is so that I don't get errors when I plug it into the larger equation. Unfortunately, certain terms of this equation tend to balloon into incredibly large numbers very quickly resulting in the program causing rounding errors as the values increase and causing the program to stop working after around digit 16. Is there some simpler way to represent this without causing the program to short out after so many digits. $y=\operatorname{floor}\left(10\operatorname{round}\left(\pi\left(10\right)^{\operatorname{round}\left(x-2\right)},2\right)\right)-10\operatorname{floor}\left(10\operatorname{round}\left(\frac{\left(\pi\left(10\right)^{\operatorname{round}\left(x-2\right)}\right)}{10},2\right)\right)$
This causes the program to multiply pi such that the digit number x is shifted to the 1/10 place and the program then rounds the x-1 digit of pi so our x digit is not affected.
$\operatorname{round}\left(\pi\left(10\right)^{\operatorname{round}\left(x-2\right)},2\right)$
This causes the x digit to shift to the 1 place and floor gets rid of the rounded digit.
$\operatorname{floor}\left(10\operatorname{round}\left(\pi\left(10\right)^{\operatorname{round}\left(x-2\right)},2\right)\right)$
This causes the function shift the x+1 digit to the 1/10 digit and then rounds to the x digit.
$\operatorname{round}\left(\frac{\left(\pi\left(10\right)^{\operatorname{round}\left(x-2\right)}\right)}{10},2\right)$
This then shifts the x digit to the 1/10 place and floor makes the x digit equal to 0. The extra multiple by 10 is so that both this and the second equation are both to the same power which will line up all of our digits of pi
$10\operatorname{floor}\left(10\operatorname{round}\left(\frac{\left(\pi\left(10\right)^{\operatorname{round}\left(x-2\right)}\right)}{10},2\right)\right)$
We finally combine the two parts where the left will have the x digit of pi in the ones place and the right will have a 0 in the ones place. Thus all of the digits of pi cancel out except for the ones place which will show up on our graph.
$y=\operatorname{floor}\left(10\operatorname{round}\left(\pi\left(10\right)^{\operatorname{round}\left(x-2\right)},2\right)\right)-10\operatorname{floor}\left(10\operatorname{round}\left(\frac{\left(\pi\left(10\right)^{\operatorname{round}\left(x-2\right)}\right)}{10},2\right)\right)$