$\begingroup$Welcome to Mathematica.SE! You should watch the introductory Tour to get the basics of the site.$\endgroup$
– Vitaliy KaurovSep 5 '18 at 19:21

$\begingroup$@VitaliyKaurov Thank You for the welcoming and your answer, I appreciate your efforts.$\endgroup$
– mhd.mathSep 5 '18 at 19:25

$\begingroup$For plotting PI, the circular form should be logical. But it would be interesting to find out if such a plot for other irrational numbers (e, sqrt(2)) pr just random numbers, would look different$\endgroup$
– RolandSep 6 '18 at 11:02

4 Answers
4

Before asking for help you should always try your own solution and post the code that you have tried (see docs and EIWL), even if you cannot finish it, it's a good etiquette :-) (please do that in future). But you are new user and this problem have a nice minimal solution in Wolfram Language, so I post my take on it.

Your colors look like Hue (or HSB), I will use that and transfer to RGB:

colors = ColorConvert[Hue /@ Range[0, .9, .1], "RGB"]

Build rules for replacement of a digit by color:

rules = Dispatch[Thread[Range[0, 9] -> List @@@ colors]]

Build image. You are basically building a matrix partitioning Pi digits list into a matrix, and then replacing in that matrix digits by RGB values. And that is the array structure of an Image which is efficient in this case, I think, more than Graphics. You can partition at a different than 400 width to achieve different aspect ratio.

You mentioned plotting the digits of Pi in a "circular form". Perhaps a "sunflower" plot is of interest. Digits are plotted in a spiral from the centre outwards, and coloured by the chosen colour scheme. As the rational approximation to Pi gets better, that is, as exponent k increases, patterns in the plot disappear. A visual confirmation of the randomness of the digits.

This function plots a sunflower with each disk having the property accorded by the function f.

Mathematica is a registered trademark of Wolfram Research, Inc. While the mark is used herein with the limited permission of Wolfram Research, Stack Exchange and this site disclaim all affiliation therewith.