Back to Browse

Histogram using Plotly for Python

2.7K views
May 4, 2018
12:34

In this second tutorial on Plotly for Python, I show you to construct a histogram. A histogram represents a numerical variable as a bar chart, by dividing the data point values up into equally sized bins and counting how many values occur in each bin. A histogram then differs from a bar chart, which represents categorical variables. You will note that a default histogram has no gaps between the bars, signifying the idea that the variable being plotted is continuous, numerical in nature. A histogram can be normalized by letting each bar represent the fraction of the values that fall into each bin, making it a frequency distribution plot. Jupyter notebook files are available on Github: https://github.com/juanklopper/Plotly-for-python

Download

0 formats

No download links available.

Histogram using Plotly for Python | NatokHD