Creating a piechart (Single Series Graph) - Henry-Posada/s-pgraphmaker GitHub Wiki

Starting the program

Once you have the program downloaded and all the necessary files on your machine, all you need to do to start the program is to run the GUI.java file. Once that is done you should be greeted with this screen.

Loading Data

To load some data for your graphs, go to the toolbar at the top of the program, select "File" then "Open". That will open your file explorer and from there you can choose what .csv file you want to load into the program.

Opening the graphing menu

So just like earlier, go to the toolbar at the top of program, select "Graphs" then "Pie Chart".

That will open a new window just like this one.

Note that your Series Y box will look different than mine, that's normal we are using different data so the defaults are different.

Creating the graph

At the bottom there is a Series Y drop down and this will allow us to select what column we want to use for our pie chart. My data set doesn't do well when shown as a pie chart but I will choose a random column.

So you might notice that the graph doesn't have a name. We can fix that. In the same screen the first row of text boxes is where that will take place. I'll give my graph a title so you can see.

Saving your graph

You might've noticed at the very bottom of this window we have a "Save Graph As Image" button, that does exactly what you think. Click it and it opens your file explorer and you can choose where to save this graph and what to name it.