The Google Earth Global Surface Water JavaScript Sample Code demonstrates how to use the Earth Engine to visualize data layers available in the GSW dataset and present some typical visualizations and analysis.