Please follow the steps in the article if you would like to export specific columns from the Org Chart web part.
1. Navigate to Menu Bar "Configure Control" and click on the ellipsis near the "ExportNoLable" option within the "Top Actions" section.
2. In the "Write your own JavaScript code for this function:" field, paste the code in the link below;
3. The code above specifies the columns to be exported with their corresponding internal names and titles. You can customize the list of columns by adding or removing entries in the array.
Here is the list of all the columns available in Org Chart Web Part when using Graph API:
'dvp_DataSourceId','dvp_DataSourceName','dvp_ReportsTo',dvp_Emails',dvp_Position', 'dvp_ManagerId', 'dvp_Name', 'dvp_Phones', 'dvp_Emails','officeLocation','department',
'dvp_ImageUrl'.
4. After following these steps, you will see additional columns have been added when you export to CSV format.