XEROF

 

xlsgen 4.0.0.81 : New financial chart : Lorenz curve


Build 4.0.0.81 of xlsgen adds native support for Lorenz curves. Those charts are unknown to Excel so this is an original concept meant to match everyday needs.



Lorenz curve


The Lorenz curve (named after Max Lorenz) represents the dispersion of inequalities, usually income, but not only. Wikipedia article.

Points on the Lorenz curve represent statements like "the bottom 20% of all households have 10% of the total income.". A perfectly equal income distribution would be one in which every person has the same income (ideal curve displayed for comparison purposes). The Lorenz curve is always below the ideal curve.

The data points on the horizontal axis shows the cumulated population and the data points on the vertical axis shows the cumulated income (or any other measure).

The chart example above is made from the following data :
 Population% Population% Cumulated PopulationIncome% Income% Cumulated Income
South4306236.87%36.87%4796134.06%34.06%
Midwest2626622.49%59.36%5220922.62%56.68%
Northeast2135118.28%77.65%5428319.12%75.80%
West2610522.35%100.00%5621824.20%100.00%


The Lorenz curve can be created from just raw Population and Income data, as is found in public files (government). xlsgen orders the data, computes cumuls and draws the line.

C/C++ code

xlsgen::IXlsChartPtr chart1 = worksheet->NewChart(xlsgen::charttype_lorenzcurve, row1, col1, row2, col2);
xlsgen::IXlsChartDynamicDataSourceSeriesPtr serie1 = chart1->DynamicDataSource->AddSerie();
serie1->DataLabelsFormula = L"={43062;26266;21351;26105}";
serie1->SeriesValuesFormula = L"={47961;52209;54283;56218}";


Posted on 09-March-2017 20:12 | Category: xlsgen, Excel generator | comment[0] | trackback[0]

 

 

<-- previous page

< July >
0102030405
0607080910
1112131415
1617181920
2122232425
2627282930
31



 

 

This site
Home
Articles

DevTools
CPU-Z
EditPlus
ExplorerXP
Kill.exe
OllyDbg
DependencyWalker
Process Explorer
autoruns.exe
Araxis
COM Trace injection
CodeStats
NetBrute
FileMon/Regmon
BoundsChecker
AQTime profiler
Source monitor
GDI leaks tracking
Rootkit revealer
Rootkit removal
RunAsLimitedUser(1)
RunAsLimitedUser(2)

 

 

Liens
Le Plan B
Un jour à Paris
Meneame
Rezo.net (aggr)
Reseau voltaire
Cuba solidarity project
Le grand soir
L'autre journal
Le courrier suisse
L'Orient, le jour
Agoravox (aggr)