Using the iris dataset from scikit-learn, plot a pie chart representing the number of samples from each species. Ensure to provide a legend.
Example 1:
Input: Iris dataset species distribution
Output: Pie chart representing the number of samples from each species with a legend.
![](https://python-connect-aws.trinket.io/python-generated/wjicf6ol/trinket_plot.png)