# Pie Chart in Word Processing Document {{< alert style="info" >}}In this article, we will use GroupDocs.Assembly to generate a Pie Chart report in Word Processing Document format.{{< /alert >}}{{< alert style="info" >}}The code uses some of the objects defined in [The Business Layer](https://docs.groupdocs.com/assembly/java/the-business-layer/).{{< /alert >}} ## Pie Chart in Microsoft Word Document ### Creating a Pie Chart Please follow below steps to can create Pie Chart in MS Word 2013. 1. Click in the document where you want to insert the chart, click the "Insert" tab, and then click "Chart" in the illustrations group to open the "Insert Chart" dialog box. 2. Select "Pie". 3. Preview "Pie" and press OK to insert the chart and Worksheet template to your document. 4. Edit the Worksheet with your data to update the chart. See [Chart Data (Excel)](https://docs.groupdocs.com/assembly/java/pie-chart-in-word-processing-document/#adding-syntax-to-be-evaluated-by-groupdocsassembly-engine). 5. Save the template. ### Reporting Requirement As a report developer, you are required to share managers' contract prices dynamically with the following key requirements: * Report must show information on a Pie Chart. * It must indicate manager name with value (price of the contract). * Report must be generated in the Word Processing Document. ### Adding Syntax to be evaluated by GroupDocs.Assembly Engine #### Chart Title ```java Total Contract Price<><> ``` #### Chart Data (Excel)

 

Total Contract Price<<y [getContracts().sum(c => c.getPrice())]>>

A

8.2

B

3.2

C

1.4

D

1.2

### Download Pie Chart Template Please download the sample Pie Chart document we created in this article: * [Pie Chart.docx](https://github.com/groupdocs-assembly/GroupDocs.Assembly-for-Java/blob/master/Examples/GroupDocs.Assembly.Examples.Java/Data/Storage/Word%20Templates/Pie%20Chart.docx?raw=true) ### Generating The Report {{< gist GroupDocsGists f255d5a88a017636d67d2853a2b695eb >}} ## Pie Chart in OpenOffice Document To be investigated.