Pie Chart (JFreeChart)

Node to display a pie chart with JFreeChart. The size of the slices (sectors) of the pie represent the relative number of instances of this particular value to the whole number of instances in the input data table. For general settings of the generated image, see the "General Plot Options" Tab.

Options

Pie Chart Options

Column
Select the categorical column, for which the chart will be created.
Show legend
This is a boolean indicating whether or not the legend should be in the visualization.
3D pie chart
This is a boolean switch to activate/deactivate 2D(off) or 3D(on) pie chart.
Attribute to explode
This option allows the user to select and explode one of the possible nominal values for the selected column for visualization. It is only used in the 2D plot.

General Plot Options

Type of Image
The type of the created image can either be png or svg. PNGs are mostly smaller, SVGs provide details about plot and the possibility to be changed individually.
Title of Graph
The title of the graph shown above the generated image. If the title is not activated, no title will be shown.
Width of Image (in pixel)
The width of the generated image, not the plot width.
Height of Image (in pixel)
The height of the generated image, not the plot height.
Background Color
The color of the background of the image. Hence this color is used for the area behind and around the plot as well as behind potential axis and legends.
Plot Background Color
The color of the background of the plot. Hence this color is used for the empty space in a plot.
Plot Background Alpha
The transparency of the plot background can be modified using an additional alpha value. An alpha value of 1 does not change the background transparency. Decreasing the alpha value will increase the plot background transparency.
Scale Font Size
Factor changes the font sizes within the JFreeChart view. A value greater the 1 increases all view fonts, a value between 0 and 1 decrease them.

Input Ports

Icon
Data table containing the data for the pie chart

Output Ports

Icon
The image of the plot (SVG or PNG)

Popular Predecessors

Views

Pie Chart
Displays the pie chart of the input data.

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.