Visualization of cosmological density fluctuations with phase space analysis: case study: Brans–Dicke theory