Hundreds of thousands of people are expected to make their way to San Francisco to watch the Fourth of July fireworks displays.