Histograms and Density Plots in Python

<p>Plotting a single variable seems like it should be easy. With only one dimension how hard can it be to effectively display the data? For a long time, I got by using the simple histogram which shows the location of values, the spread of the data, and the shape of the data (normal, skewed, bimodal, etc.) However, I recently ran into some problems where a histogram failed and I knew it was time to broaden my plotting knowledge. I found an<a href="http://serialmentor.com/dataviz/" rel="noopener ugc nofollow" target="_blank">&nbsp;excellent free online book on data visualization</a>, and implemented some of the techniques. Rather than keep everything I learned to myself, I decided it would helpful (to myself and to others) to write a Python guide to histograms and an alternative that has proven immensely useful, density plots.</p> <p><a href="https://towardsdatascience.com/histograms-and-density-plots-in-python-f6bda88f5ac0"><strong>Learn More</strong></a></p>
Tags: Density Plots