google.visualization.BubbleChart

Definition

Google Bubble chart. (see the doc of Google)

Data format

Each row in the table represents a single bubble.

Column Type Description
0 string ID (name) of the bubble
1 Number X coordinate
2 Number Y coordinate
3 string or number, optional Either a series ID or a value representing a color on a gradient scale, depending on the column type:
  • string - A string that identifies bubbles in the same series. Use the same value to identify all bubbles that belong to the same series; bubbles in the same series will be assigned the same color. Series can be configured using the series option.
  • number - A value that is mapped to an actual color on a gradient scale using the colorAxis option.<
4 Number, optional Size; values in this column are mapped to actual pixel values using the sizeAxis option.

Chart options

Each option is separated by a '|' or '!' (for Mediawiki).

Name Default Description
width 100% Chart width
height Chart height
Others... You can use the configuration options of Google. See the doc

Examples

Without options

With options

With options : "title=PIB en fonction de la population et les pays | hAxis.title=PIB | vAxis.title=Population | bubble.textStyle.fontSize = 12 | bubble.textStyle.fontName= Arial | bubble.textStyle.color= red | bubble.textStyle.bold= true"