WOLFRAM

RectangleChart3D[{{x1,y1,z1},{x2,y2,z2},}]

makes a 3D rectangle chart with bars of width xi, depth yi, and height zi.

RectangleChart3D[{,wi[{xi,yi,zi},],,wj[{xi,yj,zj},],}]

makes a 3D rectangle chart with bar features defined by the symbolic wrappers wk.

RectangleChart3D[{data1,data2,}]

makes a 3D rectangle chart from multiple datasets datai.

Details and Options

Examples

open allclose all

Basic Examples  (4)Summary of the most common use cases

Generate a 3D rectangle chart for width, depth, and height values:

Out[1]=1

Multiple datasets:

Out[1]=1

Use categorical labels:

Out[2]=2

Categorical legends:

Out[3]=3

Set the style for bars:

Out[1]=1

Pictorial bars:

Out[2]=2

Procedural bars:

Out[3]=3

Scope  (35)Survey of the scope of standard use cases

Data and Layouts  (12)

Items in a dataset are grouped together:

Out[1]=1

Datasets do not need to have the same number of items:

Out[1]=1

Nonreal data is taken to be missing:

Out[1]=1

The data may include units:

Out[1]=1

Specify the units to use:

Out[1]=1

The time stamps in TimeSeries, EventSeries, and TemporalData are ignored:

Out[1]=1

The values in associations are taken as the dimensions of the bars:

Out[1]=1

Use the keys as labels:

Out[2]=2

Use the keys as legends:

Out[3]=3

Associations can be nested:

Out[1]=1

The weights in WeightedData are ignored:

Out[1]=1

Use different layouts to display multiple datasets:

Out[1]=1

Control the origin of bars:

Out[1]=1

Adjust the spacing between bars and groups of bars:

Out[1]=1

Tabular Data  (1)

Get tabular data:

Out[1]=1

Compare the average weight and price of each group of cars:

Out[2]=2

Wrappers  (5)

Use wrappers on individual data, datasets, or collections of datasets:

Out[2]=2

Wrappers can be nested:

Out[2]=2

Override the default tooltips:

Out[1]=1

Use PopupWindow to provide additional drilldown information:

Out[1]=1

Button can be used to trigger any action:

Out[1]=1

Styling and Appearance  (9)

Use an explicit list of styles for the bars:

Out[1]=1

Use any gradient or indexed color schemes from ColorData:

Out[2]=2

Use color schemes designed for charting:

Out[1]=1
Out[2]=2

ChartBaseStyle can be used to set an initial style for all chart elements:

Out[1]=1

Style can be used to override styles:

Out[1]=1

Use any graphic for pictorial bars:

Out[1]=1

Use built-in programmatically generated bars:

Out[1]=1
Out[2]=2

For detailed settings use Palettes ChartElementSchemes:

Out[1]=1

Use a theme with detailed frame ticks and grid lines:

Out[1]=1

Use a theme with a high-contrast color scheme and profile 3D rectangles:

Out[2]=2

Labeling and Legending  (8)

Use Labeled to add a label to a bar:

Out[1]=1

Use symbolic positions for label placement:

Out[1]=1
Out[2]=2

Provide categorical labels for the columns of data:

Out[1]=1

For rows of data:

Out[2]=2

For both:

Out[3]=3

Use Placed to control the positioning of labels, using the same positions as for Labeled:

Out[1]=1

Provide value labels for bars by using LabelingFunction:

Out[1]=1

Use Placed to control placement and formatting:

Out[3]=3

Add categorical legend entries for the columns of data:

Out[1]=1

For rows of data:

Out[2]=2

Use Legended to add additional legend entries:

Out[1]=1

Use Placed to affect the positioning of legends:

Out[1]=1

Options  (64)Common values & functionality for each option

BarOrigin  (1)

Change the bar origin:

Out[1]=1

BarSpacing  (6)

Use automatically determined spacing between bars:

Out[1]=1

Use no spacing:

Out[1]=1

Use symbolic presets:

Out[1]=1

Use explicit spacing between bars:

Out[1]=1

Use explicit spacing between bars and groups of bars:

Out[1]=1

With no spacing used between bars a quantitative axis is used:

Out[1]=1

ChartBaseStyle  (5)

Use ChartBaseStyle to style bars:

Out[1]=1
Out[2]=2
Out[3]=3

ChartBaseStyle combines with ChartStyle:

Out[1]=1

ChartStyle may override settings for ChartBaseStyle:

Out[1]=1

ChartBaseStyle combines with Style:

Out[1]=1

Style may override settings for ChartBaseStyle:

Out[2]=2

ChartBaseStyle combines with ColorFunction:

Out[1]=1

ColorFunction may override settings for ChartBaseStyle:

Out[2]=2

ChartElementFunction  (6)

Get a list of built-in settings for ChartElementFunction:

Out[1]=1

For detailed settings, use Palettes ChartElementSchemes:

Out[1]=1
Out[2]=2

ChartElementFunction is appropriate to show the global scale:

Out[1]=1

Write a custom ChartElementFunction:

Out[2]=2

Write a custom ChartElementFunction using ChartElementDataFunction:

Out[2]=2

Chart with optional labeled drop planes:

Setting the metadata to True turns on the drop plane:

Out[3]=3

ChartElements  (7)

Create a pictorial chart based on any Graphics3D object:

Out[1]=1

Use a different graphic for each column of data:

Out[1]=1

Use a different graphic for each row of data:

Out[1]=1

Graphics are used cyclically:

Out[1]=1

Styles are inherited from styles set through ChartStyle etc.:

Out[1]=1

Override individual styles by using Style:

Out[1]=1

Explicit styles set in the graphic will override other style settings:

Out[1]=1

ChartLabels  (8)

By default, labels are placed in the axis:

Out[1]=1

Labeled wrappers in data will place additional labels:

Out[2]=2

Use Placed to control label placement:

Out[1]=1

Symbolic positions outside the bar:

Out[1]=1

Coordinate-based placement relative to a bar:

Out[1]=1

Coordinate-based placement relative to a bar at a scaled position in the label:

Out[1]=1

Use the third argument to Placed to control formatting:

Out[1]=1
Out[2]=2

By default, labels are associated with columns of data:

Out[2]=2

Associate labels with rows or datasets:

Out[3]=3

Label both rows and columns:

Out[4]=4

Use Placed to affect placements:

Out[5]=5

Place multiple labels:

Out[1]=1

ChartLayout  (2)

ChartLayout is "Grouped" by default:

Out[1]=1

Use stepped bars:

Out[1]=1

ChartLegends  (6)

Generate a legend based on chart style:

Out[1]=1

Use Legended to add additional legend entries:

Out[1]=1

Use Legended to specify individual legend entries:

Out[1]=1

Generate a legend for datasets:

Out[2]=2

Unused legend labels are dropped:

Out[3]=3

Legends can be applied to several dimensions:

Out[1]=1

Use Placed to control the placement of legends:

Out[2]=2
Out[3]=3

ChartStyle  (7)

Use ChartStyle to set the style:

Out[1]=1

Give a list of styles:

Out[2]=2

Use "Gradient" colors from ColorData:

Out[3]=3

Use "Indexed" colors from ColorData:

Out[4]=4

Styles are used cyclically:

Out[1]=1

Style each column of data:

Out[2]=2

Style each row of data:

Out[3]=3

Style both rows and columns of data:

Out[4]=4

With both row and column styles, the last style may override earlier ones:

Out[5]=5

Style overrides settings for ChartStyle:

Out[1]=1

ColorFunction overrides settings for ChartStyle:

Out[2]=2

With different style effects, the settings combine:

Out[3]=3

ChartElements with explicit style settings overrides settings for ChartStyle:

Out[1]=1

ColorFunction  (3)

Color by bar width, depth, and height:

Out[1]=1

Use "Gradient" colors from ColorData:

Out[2]=2

Use ColorFunctionScaling->False to get unscaled width, depth, and height values:

Out[1]=1

Color by volume:

Out[2]=2

ColorFunction overrides settings for ChartStyle:

Out[1]=1

ColorFunctionScaling  (2)

By default, scaled height values are used:

Out[1]=1

Use ColorFunctionScaling->False to get unscaled height values:

Out[1]=1

LabelingFunction  (7)

Use automatic labeling by values through Tooltip and StatusArea:

Out[1]=1

Do no automatic labeling:

Out[1]=1

Use Placed to control label placement:

Out[1]=1

Symbolic positions outside the bar:

Out[1]=1

Coordinate-based placement relative to a bar:

Out[1]=1

Control the formatting of labels:

Out[1]=1

Use the given chart labels as arguments to the labeling function:

Out[2]=2

PerformanceGoal  (3)

Generate a bar chart with interactive highlighting:

Out[1]=1

Emphasize performance by disabling interactive behaviors:

Out[1]=1

Typically less memory is required for noninteractive charts:

Out[1]=1

PlotTheme  (1)

Use a theme with detailed frame ticks and grid lines:

Out[1]=1

Turn off the grid lines:

Out[2]=2

Applications  (3)Sample problems that can be solved with this function

Compare the dollar value produced by each widget maker:

Mouse over the bars for the employee names:

Out[2]=2

Click on the bars to hear the country name, GDP per capita, poverty fraction, and population:

Out[3]=3

Get the data for G15 countries:

Mouse over the bars to get the name of the country:

Out[2]=2

Properties & Relations  (2)Properties of the function, and connections to other functions

Use RectangleChart3D to get a 3D rendering of a RectangleChart:

Out[1]=1

Use SectorChart3D and BubbleChart as alternative visualizations:

Out[1]=1

Neat Examples  (1)Surprising or curious use cases

Chartwork:

Out[1]=1
Wolfram Research (2008), RectangleChart3D, Wolfram Language function, https://reference.wolfram.com/language/ref/RectangleChart3D.html (updated 2025).
Wolfram Research (2008), RectangleChart3D, Wolfram Language function, https://reference.wolfram.com/language/ref/RectangleChart3D.html (updated 2025).

Text

Wolfram Research (2008), RectangleChart3D, Wolfram Language function, https://reference.wolfram.com/language/ref/RectangleChart3D.html (updated 2025).

Wolfram Research (2008), RectangleChart3D, Wolfram Language function, https://reference.wolfram.com/language/ref/RectangleChart3D.html (updated 2025).

CMS

Wolfram Language. 2008. "RectangleChart3D." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/RectangleChart3D.html.

Wolfram Language. 2008. "RectangleChart3D." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/RectangleChart3D.html.

APA

Wolfram Language. (2008). RectangleChart3D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RectangleChart3D.html

Wolfram Language. (2008). RectangleChart3D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/RectangleChart3D.html

BibTeX

@misc{reference.wolfram_2025_rectanglechart3d, author="Wolfram Research", title="{RectangleChart3D}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/RectangleChart3D.html}", note=[Accessed: 27-April-2025 ]}

@misc{reference.wolfram_2025_rectanglechart3d, author="Wolfram Research", title="{RectangleChart3D}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/RectangleChart3D.html}", note=[Accessed: 27-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_rectanglechart3d, organization={Wolfram Research}, title={RectangleChart3D}, year={2025}, url={https://reference.wolfram.com/language/ref/RectangleChart3D.html}, note=[Accessed: 27-April-2025 ]}

@online{reference.wolfram_2025_rectanglechart3d, organization={Wolfram Research}, title={RectangleChart3D}, year={2025}, url={https://reference.wolfram.com/language/ref/RectangleChart3D.html}, note=[Accessed: 27-April-2025 ]}