Google Charts - Google Charts tutorial - Bubble Chart with labels - chart js - google graphs - google charts examples

What is bubble chart?

  • A bubble chart is used to visualize a data set having two to four dimensions.
  • The first two dimensions are visualized as coordinates, the third as color and the fourth as size.
  • So, let's see the complete example.


  • We've used BubbleChart class to show bubble based chart.
//area chart
var chart = new google.visualization.BubbleChart(document.getElementById('container'));
Clicking "Copy Code" button to copy the code. From - google charts tutorial - team



<title>Google Charts</title>
   <script type="text/javascript" src=""></script>
   <script type="text/javascript">
     google.charts.load('current', {packages: ['corechart']});     
<div id="container" style="width: 550px; height: 400px; margin: 0 auto"></div>
<script language="JavaScript">
function drawChart() {
   // Define the chart to be drawn.
   var data = new google.visualization.DataTable();
   data.addColumn('string', 'Id');
   data.addColumn('number', 'Age');
   data.addColumn('number', 'Weight');
      [ 'Robert', 8,      12],
      [ 'Mohan', 4,      5.5],
      [ 'Ramesh', 11,     14],
      [ 'Julie', 4,      5],
      [ 'Sohan', 3,      3.5],
      [ 'Karim', 6.5,    7]
   // Set chart options
   var options = {'title':'Age vs Weight',

   // Instantiate and draw the chart.
   var chart = new google.visualization.BubbleChart(document.getElementById('container'));
   chart.draw(data, options);
Clicking "Copy Code" button to copy the code. From - google charts tutorial - team


Related Searches to Google Charts - Bubble Chart with labels

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add to your ad blocking whitelist or disable your adblocking software.