Mathematica > Visualization and Graphics > Charting and Information Visualization >
Mathematica > Visualization and Graphics > Data Visualization > Charting and Information Visualization >

BubbleChart

BubbleChart[{{x1, y1, z1}, {x2, y2, z2}, ...}]
makes a bubble chart with bubbles at positions {xi, yi} with sizes zi.
BubbleChart[{..., wi[{xi, yi, zi}, ...], ..., wj[{xj, yj, zj}, ...], ...}]
makes a bubble chart with bubble features defined by the symbolic wrappers wk.
BubbleChart[{data1, data2, ...}]
makes a bubble chart from multiple datasets datai.
  • Data elements for BubbleChart can be given in the following forms:
{xi,yi,zi}a pure bubble value
wi[{xi,yi,zi},...]a bubble with value {xi, yi, zi} and wrapper wi
formimia sector form with metadata mi
  • The values zi should be positive.
  • Data not given in these forms is ignored in forming the bubble chart.
  • Data sets for BubbleChart can be given in the following forms:
{e1,e2,...}list of elements with or without wrappers
w[{e1,e2,...},...]wrapper applied to a whole data set
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
Top,Bottom,Left,Right,Centerpositions within bubbles
Above,Below, Before, Afterpositions outside bubbles
{{bx,by},{lx,ly}}scaled position {lx, ly} in the label at scaled position {bx, by} in the bubble
AspectRatio1overall ratio of width to height
BubbleScale"Area"feature scale used for bubbles
BubbleSizesAutomaticsize range to use for bubbles
ChartBaseStyleAutomaticoverall style for bubbles
ChartElementFunctionAutomatichow to generate raw graphics for bubbles
ChartElementsAutomaticgraphics to use for each of the bubbles
ChartLabelsNonelabels for data elements and datasets
ChartLegendsNonelegends for data elements and datasets
ChartStyleAutomaticstyle for bubbles
ColorFunctionAutomatichow to color bubbles
ColorFunctionScalingTruewhether to normalize arguments to ColorFunction
FrameTruewhether to draw a frame around the chart
LabelingFunctionAutomatichow to label bubbles
LegendAppearanceAutomaticoverall appearance of legends
PerformanceGoal$PerformanceGoalaspects of performance to try to optimize
  • BubbleChart layers bubbles from largest to smallest for maximal visibility.
  • The arguments supplied to ChartElementFunction are the bubble region {{xmin,xmax},{ymin,ymax}}, the values {xi, yi, zi} 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["BubbleChart"].
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team