Question: how to create a pie chart in excel using java?
Answer: Introduction. In this example we will see how to generate pie chart in excel file using Apache POI library in Java. ... 
Prerequisites. At least Java 8, Eclipse 4.12, Apache POI 4.1.1, Gradle 5.6, maven 3.6.1.
Create Project. ... 
Create Pie Chart. ... 
Testing the Application. ... 
Source Code.