Lorenz Curve Visualizer

Lorenz Curve:

The Lorenz Curve Visualizer is an interactive tool designed to help users explore income or wealth distribution within a population. The Lorenz Curve is a graphical representation of inequality, plotting the cumulative share of income (or wealth) against the cumulative share of the population. This tool allows users to input custom data or use predefined datasets to visualize the curve and calculate the Gini Coefficient , a measure of inequality.

 

This tool is ideal for students learning about income inequality, policymakers analyzing economic disparities, and researchers studying wealth distribution.

 

Key Features:

  1. Custom Data Input : Users can input their own income or wealth distribution data.
  2. Predefined Datasets : Includes sample datasets for common scenarios (e.g., equal distribution, high inequality).
  3. Dynamic Visualization : Displays the Lorenz Curve in real-time based on user inputs.
  4. Gini Coefficient Calculation : Automatically calculates and displays the Gini Coefficient to quantify inequality.
  5. PDF Download Option : Users can download a summary of their results, including the graph and Gini Coefficient, in PDF format.
  6. Modern Design : A colorful, stylish, and modern interface that integrates seamlessly into your WordPress Elementor HTML block.
  7. Self-Contained Container : The tool stays within its own container, ensuring it doesn’t interfere with the page header or footer.
 

Use Cases:

  • Economics students exploring income inequality and the Lorenz Curve.
  • Policymakers analyzing wealth distribution and designing policies to reduce inequality.
  • Teachers demonstrating economic concepts like inequality and the Gini Coefficient.
  • Researchers visualizing and comparing income distributions across different populations.
 

How It Works:

  1. The user inputs income or wealth distribution data (e.g., percentage shares for each income bracket) or selects a predefined dataset.
  2. The tool dynamically generates the Lorenz Curve using Chart.js .
  3. The Gini Coefficient is calculated based on the area between the Lorenz Curve and the line of perfect equality.
  4. Users can observe how changes in the data affect the curve and the Gini Coefficient.
  5. Users can download a summary of the results, including the graph and Gini Coefficient, as a PDF by clicking the “Download PDF” button.
Scroll to Top