BubbleChart3D
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
- Data elements for BubbleChart3D can be given in the following forms:
-
{xi,yi,zi,ui} a pure bubble value {Quantity[xi,ux],Quantity[yi,uy],Quantity[zi,uz],Quantity[ui,uu]} a bubble value with units <kxxi,kyyi,kzzi,kuui > association of keys and bubble value wi[{xi,yi,zi,ui},…] a bubble with value {xi,yi,zi,ui} and wrapper wi formi->mi a bubble form with metadata mi - The values ui should be positive.
- Data not given in these forms is ignored in forming the 3D bubble chart.
- Datasets for BubbleChart3D can be given in the following forms:
-
{e1,e2,…} list of elements with or without wrappers <k1e1,k2e2,… > association of keys and values TimeSeries[…],EventSeries[…],TemporalData[…] time series, event series, and temporal data WeightedData[…] augmented datasets w[{e1,e2,…},…] wrapper applied to a whole dataset w[{data1,data1,…},…] wrapper applied to all datasets - The following wrappers can be used for chart elements:
-
Annotation[e,label] provide an annotation Button[e,action] define an action to execute when the element is clicked EventHandler[e,…] define a general event handler for the element Hyperlink[e,uri] make the element act as a hyperlink Labeled[e,…] display the element with labeling Legended[e,…] include features of the element in a chart legend Mouseover[e,over] make the element show a mouseover form PopupWindow[e,cont] attach a popup window to the element StatusArea[e,label] display in the status area when the element is moused over Style[e,opts] show the element using the specified styles Tooltip[e,label] attach an arbitrary tooltip to the element - In BubbleChart3D, Labeled and Placed allow the following positions:
-
Top,Bottom,Left,Right,Center, Front,Back positions within bubbles Above,Below, Before, After positions outside bubbles {{bx,by,bz},{lx,ly}} scaled position {lx,ly} in the label at scaled position {bx,by,bz} in the bubble - BubbleChart3D has the same options as Graphics3D with the following additions and changes: [List of all options]
-
Axes True whether to draw axes AxesEdge {{-1, -1}, {1, -1}, {-1, -1}} on which edges to put axes Boxed {Left,Bottom,Back} what faces to draw on a bounding box BoxRatios {1,1,1} bounding 3D box ratios BubbleScale "Volume" size feature used for bubbles BubbleSizes Automatic size range to use for bubbles ChartBaseStyle Automatic overall style for bubbles ChartElementFunction Automatic how to generate raw graphics for bubbles ChartElements Automatic graphics to use for each of the bubbles ChartLabels None labels for data elements and datasets ChartLegends None legends for data elements and datasets ChartStyle Automatic style for bubbles ColorFunction Automatic how to color bubbles ColorFunctionScaling True whether to normalize the arguments for ColorFunction FaceGrids Automatic grid lines to draw on the bounding box LabelingFunction Automatic how to label bubbles LegendAppearance Automatic overall appearance of legends Lighting "Neutral" simulated light sources to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotTheme $PlotTheme overall theme for the chart ScalingFunctions None how to scale individual coordinates TargetUnits Automatic units to display in the chart - With the setting ChartElements->g, the graphic g will be used to form pictorial bubbles consisting of stretched versions of g.
- The arguments supplied to ChartElementFunction are the bubble region {{xmin,xmax},{ymin,ymax},{zmin,zmax}}, the values {xi,yi,zi,ui}, and the metadata {m1,m2,…} from each level in a nested list of datasets.
- A list of built-in settings for ChartElementFunction can be obtained from ChartElementData["BubbleChart3D"].
- The arguments supplied to ColorFunction are x, y, z, and u.
- Style and other specifications from options and other constructs in BubbleChart3D are effectively applied in the order ChartStyle, ColorFunction, Style and other wrappers, ChartElements, and ChartElementFunction, with later specifications overriding earlier ones.
-
AlignmentPoint Center the default point in the graphic to align with AspectRatio Automatic ratio of height to width Axes True whether to draw axes AxesEdge {{-1, -1}, {1, -1}, {-1, -1}} on which edges to put axes AxesLabel None axes labels AxesOrigin Automatic where axes should cross AxesStyle {} graphics directives to specify the style for axes Background None background color for the plot BaselinePosition Automatic how to align with a surrounding text baseline BaseStyle {} base style specifications for the graphic Boxed {Left,Bottom,Back} what faces to draw on a bounding box BoxRatios {1,1,1} bounding 3D box ratios BoxStyle {} style specifications for the box BubbleScale "Volume" size feature used for bubbles BubbleSizes Automatic size range to use for bubbles ChartBaseStyle Automatic overall style for bubbles ChartElementFunction Automatic how to generate raw graphics for bubbles ChartElements Automatic graphics to use for each of the bubbles ChartLabels None labels for data elements and datasets ChartLegends None legends for data elements and datasets ChartStyle Automatic style for bubbles ClipPlanes None clipping planes ClipPlanesStyle Automatic style specifications for clipping planes ColorFunction Automatic how to color bubbles ColorFunctionScaling True whether to normalize the arguments for ColorFunction ContentSelectable Automatic whether to allow contents to be selected ControllerLinking False when to link to external rotation controllers ControllerPath Automatic what external controllers to try to use Epilog {} 2D graphics primitives to be rendered after the main plot FaceGrids Automatic grid lines to draw on the bounding box FaceGridsStyle {} style specifications for face grids FormatType TraditionalForm default format type for text ImageMargins 0. the margins to leave around the graphic ImagePadding All what extra padding to allow for labels, etc. ImageSize Automatic absolute size at which to render the graphic LabelingFunction Automatic how to label bubbles LabelStyle {} style specifications for labels LegendAppearance Automatic overall appearance of legends Lighting "Neutral" simulated light sources to use Method Automatic details of 3D graphics methods to use PerformanceGoal $PerformanceGoal aspects of performance to try to optimize PlotLabel None a label for the plot PlotRange All range of values to include PlotRangePadding Automatic how much to pad the range of values PlotRegion Automatic final display region to be filled PlotTheme $PlotTheme overall theme for the chart PreserveImageOptions Automatic whether to preserve image options when displaying new versions of the same graphic Prolog {} 2D graphics primitives to be rendered before the main plot RotationAction "Fit" how to render after interactive rotation ScalingFunctions None how to scale individual coordinates SphericalRegion Automatic whether to make the circumscribing sphere fit in the final display area TargetUnits Automatic units to display in the chart Ticks Automatic specification for ticks TicksStyle {} style specification for ticks TouchscreenAutoZoom False - whether to zoom to fullscreen when activated on a touchscreen
ViewAngle Automatic angle of the field of view ViewCenter Automatic point to display at the center ViewMatrix Automatic explicit transformation matrix ViewPoint {1.3,-2.4,2.} viewing position ViewProjection Automatic projection method for rendering objects distant from the viewer ViewRange All range of viewing distances to include ViewVector Automatic position and direction of a simulated camera ViewVertical {0,0,1} direction to make vertical
List of all options
Examples
open allclose allBasic Examples (3)
Scope (30)
Data and Wrappers (14)
Items in a dataset are colored the same:
Nonreal data is taken to be missing:
The time stamps in TimeSeries, EventSeries, and TemporalData are ignored:
The values in associations are taken as bubble values:
Associations can be nested down to the point level:
The weights in WeightedData are ignored:
Use wrappers on individual data, datasets, or collections of datasets:
Override the default tooltips:
Use any object in the tooltip:
Use PopupWindow to provide additional drilldown information:
Button can be used to trigger any action:
Styling and Appearance (9)
Use an explicit list of styles for the bubbles:
Use any gradient or indexed color schemes from ColorData:
Use color schemes designed for charting:
ChartBaseStyle can be used to set an initial style for all chart elements:
Style can be used to override styles:
Use any graphic for pictorial bubbles:
Use built-in programmatically generated bubbles:
For detailed settings, use Palettes ▶ ChartElementSchemes:
Labeling and Legending (7)
Use Labeled to add a label to a bubble:
Use symbolic positions for label placement:
Provide categorical labels for the datasets:
Provide value labels for bubbles by using LabelingFunction:
Use Placed to control placement and formatting:
Add categorical legend entries for the columns of data:
Use Legended to add additional legend entries:
Use Placed to affect the positioning of legends:
Options (86)
Axes (3)
By default, axes are drawn for BubbleChart3D:
AxesOrigin (2)
AxesStyle (4)
AxesLabel (4)
BubbleScale (2)
ChartBaseStyle (4)
Use ChartBaseStyle to style all bubbles:
ChartBaseStyle combines with ChartStyle:
ChartBaseStyle combines with Style:
Style may override settings for ChartBaseStyle:
ChartBaseStyle combines with ColorFunction:
ColorFunction may override settings for ChartBaseStyle:
ChartElementFunction (5)
Get a list of built-in settings for ChartElementFunction:
For detailed settings, use Palettes ▶ ChartElementSchemes:
Write a custom ChartElementFunction:
Use metadata passed on from the input, in this case charting the data:
The built-in element function may have options; use Palettes ▶ ChartElementSchemes to set them:
ChartElements (6)
Create a pictorial chart based on any Graphics3D object:
Use a different graphic for each row of data:
Styles are inherited from styles set through ChartStyle etc.:
Override individual styles by using Style:
Explicit styles set in the graphic will override other style settings:
ChartLabels (5)
ChartLegends (5)
ChartStyle (14)
Use ChartStyle to set the style:
Use Style to highlight individual data elements:
Give an explicit list of styles:
Use "Gradient" colors from ColorData:
Use "Indexed" colors from ColorData:
Use Style to highlight a dataset:
Style each row of data or dataset:
Style both rows and columns of data:
With both row and column styles, the last style may override earlier ones:
Style may override settings for ChartStyle:
ColorFunction overrides settings for ChartStyle:
Use ColorFunction to combine different style effects:
ChartElements with explicit style settings may override settings for ChartStyle:
ColorFunction (4)
Use ColorFunctionScaling->False to get unscaled height values:
ColorFunction may override styles in ChartStyle:
Use ColorFunction to combine different style effects:
ColorFunctionScaling (2)
By default, scaled height values are used:
Use ColorFunctionScaling->False to get unscaled height values:
ImageSize (7)
Use named sizes such as Tiny, Small, Medium and Large:
Specify the width of the plot:
Specify the height of the plot:
Allow the width and height to be up to a certain size:
Specify the width and height for a graphic, padding with space if necessary:
Setting AspectRatioFull will fill the available space:
Use maximum sizes for the width and height:
Use ImageSizeFull to fill the available space in an object:
Specify the image size as a fraction of the available space:
LabelingFunction (7)
Use automatic labeling by values through Tooltip and StatusArea:
Use Placed to control label placement:
Symbolic positions outside the bubble:
Coordinate-based placement relative to a given bubble:
Control the formatting of labels:
Use the given chart labels as arguments to the labeling function:
PerformanceGoal (1)
Ticks (6)
Ticks are placed automatically on each axis:
Use TicksNone to not draw any tick marks:
Place tick marks at the specified positions:
Draw tick marks at the specified positions with specific labels:
Specify tick marks with scaled lengths:
Customize each tick with position, length, labeling and styling:
Applications (2)
Properties & Relations (1)
Use BubbleChart3D to get a 3D rendering of bubble charts:
Text
Wolfram Research (2008), BubbleChart3D, Wolfram Language function, https://reference.wolfram.com/language/ref/BubbleChart3D.html (updated 2014).
CMS
Wolfram Language. 2008. "BubbleChart3D." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. 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