How to use Python for automatic data collection and visualization in Excel