I am using the 'ESA WorldCover 10m v100' dataset in Google Earth Engine and I am trying to calculate the area that each land cover classification covers in a region I specify. However, I don't know how to extract that band information from the dataset.
I only have the following code so far (since all attempts to do this have failed):
var dataset = ee.ImageCollection("ESA/WorldCover/v100").first();
var visualization = {
bands: ['Map'],
};
Map.centerObject(area);
Map.addLayer(dataset.clip(area), visualization, "Landcover");
Area Calculation by Class
section here spatialthoughts.com/2020/06/19/calculating-area-gee