Creating data visualizations for reports on inequality trends.
"The data extracted from wid_data.csv reveals a stark divergence in economic fortunes over four decades. While the bottom 50% of earners saw their pre-tax income stagnate, growing by less than 10% in real terms, the top 1% captured the majority of overall economic growth. The CSV captures this transition precisely; the value associated with the p99p100 percentile tripled, validating the hypothesis of a 'hollowed-out' middle class." wid_data csv
Pay attention to whether the data represents pre-tax or post-tax income, as this significantly changes the results. wid_data csv
Academic papers studying the drivers of wealth concentration. wid_data csv
# 2. Create a readable pivot table # Let's look at Pre-tax National Income ('ptinc') income_data = df[df['variable'] == 'ptinc']