This component adds an interactive 3D plot to SAP Predictive Analysis. Three measures are displayed in three dimensions and the user can look at the data from any angle.
Please note that this component is provided as-is without any guarantee or support.
– R library rgl must be installed.
– The component expects two columns in the dataset that specify the color and the data label. If these columns are not available, they can be added with a formula component.
– Once the chart has been displayed, the component’s configuration has to be changed (ie change any of the measures) to display the chart again.
These parameters can be set by the user.
|X Axis||Numerical column to be displayed on the x axis.|
|Y Axis||Numerical column to be displayed on the y axis.|
|Z Axis||Numerical column to be displayed on the z axis.|
|Color Column||Column for colour-coding individual datapoints. Can be numerical or text.|
Column that provides the labels for the datapoints.
No output columns added by this component.
How to Implement
The component can be downloaded as .spar file from GitHub. Then deploy it as described here. You just need to import it through the option “Import/Model Component”, which you will find by clicking on the plus-sign at the bottom of the list of the available algorithms.
You can try out the component wtih our own data or with the file EuropeanUrbanAudit_WithClusterAndGeocodes.csv. The dataset lists 75 European cities and their residents’ satisfaction with a number of aspects of life, ie the availabilty of good jobs, green spaces or affordable living. More information on this dataset is given in the article on hierarchical clustering. The result of that clustering is stored in a separate column in the attached file and will be used for the color-coding of the interactive 3D plot.
Now run the component and the new window with the interactive chart opens up. Click with the mouse on the chart and look at the data from different angles.
When you are done with the chart just close the window. You will then be asked whether you want to jump to the tabular view of the data (“OK”) or whether you want to stay on the Designer view (“Cancel”).