As you might know in high season Venice is very crowded and you will walk in the narrow streets side by side with others. It is more comfortable to visit the city in the period half October to end of April. Not even hotel prices are more attractive but you can enjoy the city more and go to musea with short queues.
There are heavy rain periods that may overflood the streets : when you plan your trip in advance it is more difficult but when you pplan your trip a few weeks in advance you can check long term weather forecasts. But even when the streets are flooded the city has experience with that and have special walking lanes above the water.
Do not forget to visit other islands like Burano with the colorfull houses.

