Pie plot VS Bar plot

Example of famous dataset

The Iris data set:

First data plot

Example on simulated data

Empirical CDF

Histogram

Different bin number