This video walks through determining the gini index or gini coefficient using ideas from the area between curves. We also review using numpy to determine the polynomial fit of the Lorenz curve. Our example uses data on professional baseball player salaries.