%% Display Tsunami Data Using Bubble Size to Indicate Tsunami Size
% Read data about tsunamis into the workspace as a table. The rows represent individual tsunami occurrences. The columns represent data about a set of variables for each tsunami, such as their locations (latitude and longitude), causes, and wave heights.

tsunamis = readtable('tsunamis.xlsx');

% Create a geographic bubble chart, plotting the locations of the tsunamis on a map. Use the data from the MaxHeight variable to specify the size of the bubble. In this example, you pass the data directly to geobubble. Alternatively, you can also pass geobubble the name of the table and then specify the data by table variable names.

geobubble(tsunamis.Latitude,tsunamis.Longitude,tsunamis.MaxHeight)

% Copyright 2012 The MathWorks, Inc.