Bubble Chart
A bubble chart is a type of chart similar to a scatter plot which is basically used to look at relationships between three numeric variables. Each dot in a bubble chart corresponds with a single data point, and the variables’ values for each point are indicated by horizontal position, vertical position, and dot size. A bubble chart is used to visualize a data set with two to four dimensions. The first two dimensions are visualized as coordinates, the third as color, and the fourth as size.
Steps for adding Google Bubble Charts to your Website:-
To use Google Bubble Chart on your website, add a link to the charts loader.
After this, add a div with a unique id. Then, we have to load Google Graph API.
Load the Visualization API with the desired package name. In our case, it is "corechart".
Set a callback function.
The visualization API is:- google.charts.load('current', {'packages':['corechart']})
The callback function will be:- google.charts.setOnLoadCallback(draw_my_chart)