Here is the code. There are 81 sentinel images but I am only seeing the first one (or the last one maybe), how can I visualize other images. Let's say I want to see the 2nd one ?
// Importing S-1 Images
var S1 = ee.ImageCollection("COPERNICUS/S1_GRD");
// Importing Geometry (area of Interest)
geometry =
ee.Geometry.Polygon(
[[[74.38065032641738, 12.778968253582836],
[74.38065032641738, 7.612293582692355],
[77.74246673266738, 7.612293582692355],
[77.74246673266738, 12.778968253582836]]], null, false);
// Define Time Interval
var start_date = ee.Date('2018-07-21');
var end_date = start_date.advance(3, 'month');
var date_filter = ee.Filter.date(start_date, end_date);
//Display of Image
var collection2 = S1
.filter(date_filter)
.filter(ee.Filter.listContains('transmitterReceiverPolarisation', 'VV'))
.filter(ee.Filter.eq('instrumentMode', 'IW'))
.filterBounds(geometry);
var vis_params2 = {bands:'VV', min:-25, max:5};
var label2 = 'SAR Backscatter';
// Visualizing the map
Map.addLayer(collection2, vis_params2, 'secondimg')
Map.centerObject(geometry);