preparing visualization data.