If you are using standard Machine Learning software packages like JMP, Weka, RapidMiner etc to perform basic operations like analysis, model creation etc, then Windows Operating system is a good choice.
However, Linux based Operating Systems are far more widely used for developing ML applications. Python, the undisputed king among the languages used for ML runs best in Linux where all dependencies can be installed with ease. Similar is the case for R and Octave, the other popular languages. Tensorflow, which has become one of the most powerful toolkits for Deep Learning runs best on Linux. There are a variety of cloud OS images that come pre-installed with the standard ML libraries -they are predominantly Linux based. You’ll end up with a generating graphs and other visualizations, there are a ton of them available for Linux.