Hi Michael,
As per my understanding, you aim to visualize statistical data on a map in MATLAB using a swarm chart or 3D scatter plot.
You may try using the `geoshow` function to visualize your data.
The `geoshow(lat, lon, Z)` function in MATLAB is used to project and display a geolocated data grid, represented by the array `Z`. The `lat` and `lon` parameters are M-by-N arrays that contain the latitude and longitude coordinates for each grid point. The `Z` array is an M-by-N array of type double, which represents the data values associated with each grid point. Additionally, you can customize the display by specifying the desired `DisplayType` using name-value pair arguments, such as surface, mesh, texture map, or contour.
Before using the `geoshow` function to display data on a map in MATLAB, it is necessary to create the map itself. This can be done by using one of the following functions: `axesm`, `worldmap `, or `usamap `. These functions set up the map projection and coordinate system on the axes, allowing you to correctly visualize and overlay your data using the `geoshow` function.