Skip to content

Varnasr/The-Real-Middle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

69 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

The Real Middle β€” India Income Reality Check

Website License: MIT React Vite GitHub Last Commit Part of ImpactMojo

Think you're middle class? Discover where you really stand in India's income distribution.

An interactive tool that uses real government data to reveal the gap between perceived and actual economic position in India β€” built for the ImpactMojo platform.

Live at therealmiddle.netlify.app


About

Most upper-income Indians believe they're "middle class" when they're actually in the top 10% β€” or even the top 1% β€” of earners. The Real Middle uses real data from the PLFS, NSSO, and academic research to show users exactly where they stand.

This is not commentary. It is data.


Features

Feature Description
Income Reality Check Enter your household income and see your exact percentile in India's distribution
Budget Challenge Try to survive on India's median income (β‚Ή9,000/month) β€” allocate across rent, food, health, education
Healthcare Cost Analysis How different income levels experience the same medical emergency
Education Barriers The real cost of education at each income decile
Rural vs Urban Comparison Purchasing power and living standards across geographies
Poverty Cycle Analysis Intergenerational poverty trap modelling
Academic Sources Full transparency β€” every data point cites peer-reviewed research or official surveys
Responsive Design Built with React + Tailwind β€” works on all screen sizes

Data Sources

Source Indicators Used
PLFS (Periodic Labour Force Survey) Income distribution, employment, wages
NSSO Household Surveys Consumption, expenditure, poverty
World Inequality Database (WID) Top income shares, wealth concentration
NITI Aayog Multidimensional Poverty Index Poverty headcounts by state
RBI Household Finance Committee Wealth distribution data

Tech Stack

Layer Technology Purpose
Framework React 19 Component-based UI
Charts Recharts 3 Income distribution visualisations
Icons Lucide React UI iconography
Styling Tailwind CSS 4 Utility-first responsive design
Build Vite 6 Fast development and build tooling
Hosting Netlify Auto-deploy from GitHub

Project Structure

The-Real-Middle/
β”œβ”€β”€ index.html              # HTML entry point
β”œβ”€β”€ vite.config.js          # Vite build configuration
β”œβ”€β”€ package.json            # Dependencies and scripts
β”œβ”€β”€ src/                    # React source code
β”‚   β”œβ”€β”€ App.jsx             # Root component
β”‚   β”œβ”€β”€ components/         # Feature components (calculator, budget, charts)
β”‚   └── data/               # Income distribution data and survey constants
β”œβ”€β”€ public/                 # Static assets
β”œβ”€β”€ CITATION.cff            # Citation metadata
β”œβ”€β”€ LICENSE
└── README.md

Local Development

git clone https://github.com/Varnasr/The-Real-Middle.git
cd The-Real-Middle

# Install dependencies
npm install

# Start dev server
npm run dev

Open http://localhost:5173 in your browser.

# Build for production
npm run build

# Preview production build
npm run preview

Part of the ImpactMojo Ecosystem

The Real Middle is a standalone interactive tool within ImpactMojo's suite of economics education resources.

Related repositories:


License

MIT License β€” see LICENSE for details.


Citation

Sri Raman, V. (2025). The Real Middle: India Income Reality Check [Software].
ImpactMojo. https://github.com/Varnasr/The-Real-Middle

About

🎯 Interactive game revealing where you really stand in India's income distribution. Think you're middle class? Discover the truth about economic inequality with real government data. Most Indians overestimate their economic position - find out if you do too.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors