WOLFRAM

BubbleChart3D
BubbleChart3D

Updatedshow changeshide changes

BubbleChart3D[{{x1,y1,z1,u1},{x2,y2,z2,u2},}]

makes a 3D bubble chart with bubbles at positions {xi,yi,zi} with sizes ui.

BubbleChart3D[{,wi[{xi,yi,zi,ui},],,wj[{xj,yj,zj,uj},],}]

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

BubbleChart3D[{data1,data2,}]

makes a 3D bubble chart from multiple datasets datai.

Details and Options

Examples

open allclose all

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

Create a 3D bubble chart for a list of 4-tuples:

Out[1]=1

Multiple datasets:

Out[1]=1

Set the style for bubbles:

Out[1]=1

Pictorial bubbles:

Out[2]=2

Procedural bubbles:

Out[3]=3

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

Data and Wrappers  (14)

Items in a dataset are colored the same:

Out[1]=1

Nonreal data is taken to be missing:

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

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 bubble values:

Out[1]=1

Use the keys as labels:

Out[2]=2

Use the keys as legends:

Out[3]=3

Associations can be nested down to the point level:

Out[1]=1

Or up to the group level:

Out[2]=2

The weights in WeightedData are ignored:

Out[1]=1

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 any object in the tooltip:

Out[1]=1

Use PopupWindow to provide additional drilldown information:

Out[1]=1

Button can be used to trigger any action:

Out[1]=1

Tabular Data  (1)

Get tabular data:

Out[1]=1

Plot horsepower against displacement and weight, with bubbles sized according to the mileage:

Out[2]=2

Pivot the data to create columns of mileage per region:

Out[3]=3

Plot the data by region of origin:

Out[4]=4

Styling and Appearance  (9)

Use an explicit list of styles for the bubbles:

Out[1]=1

Use any gradient or indexed color schemes from ColorData:

Out[1]=1

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 bubbles:

Out[1]=1

Use built-in programmatically generated bubbles:

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

For detailed settings, use Palettes ChartElementSchemes:

Out[1]=1

Use a theme in a high contrast color scheme:

Out[1]=1

Use a theme with simple ticks in a bold color scheme:

Out[2]=2

Labeling and Legending  (7)

Use Labeled to add a label to a bubble:

Out[1]=1

Use symbolic positions for label placement:

Out[1]=1

Provide categorical labels for the datasets:

Out[1]=1

Provide value labels for bubbles 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

Use Legended to add additional legend entries:

Out[1]=1

Use Placed to affect the positioning of legends:

Out[1]=1

Options  (86)Common values & functionality for each option

Axes  (3)

By default, axes are drawn for BubbleChart3D:

Out[2]=2

Use AxesFalse to turn off axes:

Out[1]=1

Turn each axis on individually:

Out[1]=1

AxesOrigin  (2)

The position of the axes is determined automatically:

Out[1]=1

Specify an explicit origin for the axes:

Out[1]=1

AxesStyle  (4)

Change the style for the axes:

Out[1]=1

Specify the style of each axis:

Out[1]=1

Use different styles for the ticks and the axes:

Out[1]=1

Use different styles for the labels and the axes:

Out[1]=1

AxesLabel  (4)

No axes labels are drawn by default:

Out[1]=1

Place a label on the axis:

Out[1]=1

Specify axes labels:

Out[1]=1

Use units as labels:

Out[1]=1

BubbleScale  (2)

By default, the volume of a bubble is proportional to the u value:

Out[1]=1

Compare the volume scale to the diameter scale:

Out[2]=2

BubbleSizes  (1)

Change the size range of the bubbles:

Out[2]=2

ChartBaseStyle  (4)

Use ChartBaseStyle to style all bubbles:

Out[2]=2

ChartBaseStyle combines with ChartStyle:

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  (5)

Get a list of built-in settings for ChartElementFunction:

Out[1]=1

For detailed settings, use Palettes ChartElementSchemes:

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

Write a custom ChartElementFunction:

Out[2]=2

Use metadata passed on from the input, in this case charting the data:

Out[3]=3

The built-in element function may have options; use Palettes ChartElementSchemes to set them:

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

ChartElements  (6)

Create a pictorial chart based on any Graphics3D object:

Out[1]=1

Use a different graphic for each row of data:

Out[3]=3
Out[4]=4

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  (5)

By default, labels are placed in the center of the bubbles:

Out[1]=1

Labeled wrappers in data will place additional labels:

Out[2]=2

Use Placed to control label placement:

Out[1]=1

Use the third argument to Placed to control formatting:

Out[1]=1

By default, labels are associated with columns of data:

Out[2]=2

Use Placed to affect placements:

Out[3]=3

Place multiple labels:

Out[1]=1

ChartLegends  (5)

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

Use Placed to control the placement of legends:

Out[2]=2

ChartStyle  (14)

Use ChartStyle to set the style:

Out[1]=1

Use Style to highlight individual data elements:

Out[1]=1

Give an explicit list of styles:

Out[1]=1

Use "Gradient" colors from ColorData:

Out[1]=1

Use "Indexed" colors from ColorData:

Out[1]=1

Use Style to highlight a dataset:

Out[1]=1

Styles are used cyclically:

Out[2]=2

Style each row of data or dataset:

Out[2]=2

Style each column of data:

Out[1]=1

Style both rows and columns of data:

Out[2]=2

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

Out[3]=3

Style may override settings for ChartStyle:

Out[1]=1

ColorFunction overrides settings for ChartStyle:

Out[1]=1

Use ColorFunction to combine different style effects:

Out[1]=1

ChartElements with explicit style settings may override settings for ChartStyle:

Out[1]=1

ColorFunction  (4)

Color by coordinate value:

Out[1]=1

Use ColorFunctionScaling->False to get unscaled height values:

Out[1]=1

ColorFunction may override styles in ChartStyle:

Out[1]=1

Use ColorFunction to combine different style effects:

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

ImageSize  (7)

Use named sizes such as Tiny, Small, Medium and Large:

Out[1]=1

Specify the width of the plot:

Out[1]=1

Specify the height of the plot:

Out[2]=2

Allow the width and height to be up to a certain size:

Out[1]=1

Specify the width and height for a graphic, padding with space if necessary:

Out[1]=1

Setting AspectRatioFull will fill the available space:

Out[2]=2

Use maximum sizes for the width and height:

Out[1]=1

Use ImageSizeFull to fill the available space in an object:

Out[1]=1

Specify the image size as a fraction of the available space:

Out[1]=1

LabelingFunction  (7)

Use automatic labeling by values through Tooltip and StatusArea:

Out[1]=1

Do no labeling:

Out[1]=1

Use Placed to control label placement:

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

Symbolic positions outside the bubble:

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

Coordinate-based placement relative to a given bubble:

Out[1]=1

Control the formatting of labels:

Out[1]=1

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

Out[3]=3

PerformanceGoal  (1)

Generate a bubble chart with interactive highlighting:

Out[2]=2

Emphasize performance by disabling interactive behaviors:

Out[3]=3

Typically, less memory is required for non-interactive charts:

Out[4]=4

PlotTheme  (2)

Use a theme in a high contrast color scheme:

Out[1]=1

Change the chart style:

Out[1]=1

Ticks  (6)

Ticks are placed automatically on each axis:

Out[4]=4

Use TicksNone to not draw any tick marks:

Out[1]=1

Place tick marks at the specified positions:

Out[1]=1

Draw tick marks at the specified positions with specific labels:

Out[1]=1

Specify tick marks with scaled lengths:

Out[1]=1

Customize each tick with position, length, labeling and styling:

Out[1]=1

TicksStyle  (2)

Specify an overall style for ticks, including for labels:

Out[1]=1

Specify tick style for each of the axes:

Out[1]=1

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

Click the bubbles to hear the name of the country, its GDP per capita, and its population:

Out[3]=3

Display GDP per capita, poverty, and military expenditures for a list of countries:

Define a labeling function for the tooltips:

Mouse over the bubbles to view a country's data:

Out[3]=3

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

Use BubbleChart3D to get a 3D rendering of bubble charts:

Out[1]=1

Neat Examples  (1)Surprising or curious use cases

Here is some chart work:

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

Text

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

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

CMS

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

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

APA

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

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

BibTeX

@misc{reference.wolfram_2025_bubblechart3d, author="Wolfram Research", title="{BubbleChart3D}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/BubbleChart3D.html}", note=[Accessed: 29-March-2025 ]}

@misc{reference.wolfram_2025_bubblechart3d, author="Wolfram Research", title="{BubbleChart3D}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/BubbleChart3D.html}", note=[Accessed: 29-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_bubblechart3d, organization={Wolfram Research}, title={BubbleChart3D}, year={2025}, url={https://reference.wolfram.com/language/ref/BubbleChart3D.html}, note=[Accessed: 29-March-2025 ]}

@online{reference.wolfram_2025_bubblechart3d, organization={Wolfram Research}, title={BubbleChart3D}, year={2025}, url={https://reference.wolfram.com/language/ref/BubbleChart3D.html}, note=[Accessed: 29-March-2025 ]}