Mock Prototype Dynamic pricing dashboard for price elasticity analysis across RFM customer segments
Elastix - https://elastix.vercel.app/ Elastix-Api - https://elastix-api.onrender.com/docs
elastix is an interactive dashboard prototype for e-commerce managers to explore price elasticity within RFM (Recency, Frequency, Monetary) customer segments. It enables data-driven pricing decisions through:
- ๐ Segment Visualization โ Treemap and Area Charts for customer distribution
- ๐ฎ What-If Simulations โ Interactive price change scenarios
- ๐ Revenue Projections โ Real-time impact analysis per segment
- ๐จ Modern UI โ Built with shadcn/ui and Recharts
๐ Developed as part of a case study on dynamic pricing strategies in e-commerce
| Feature | Status | Description |
|---|---|---|
| RFM Dashboard | โ | Segment overview with KPIs |
| Customer Segmentation | โ | Treemap & Area Chart visualizations |
| Simulation Dashboard | โ | Price scenario modeling |
| Stock Item Management | โ | Product selection per simulation |
| Backend Integration | ๐ | RTK Query service layer |
# Clone
git clone https://github.com/Mert-55/elastix.git
cd elastix
# Install
npm install
# Development
npm run dev
# โ http://localhost:5173# Start elastix-api first (see backend repo)
docker-compose up -d
# Then run frontend
npm run devsrc/
โโโ app/ # Application setup
โ โโโ config/ # Constants, theme
โ โโโ providers/ # React context providers
โ โโโ store/ # Redux + RTK Query (planned)
โโโ common/ # Shared infrastructure
โ โโโ ui/ # shadcn/ui components
โ โโโ lib/ # Utilities
โ โโโ hooks/ # Shared hooks
โ โโโ i18n/ # Localization (DE/EN)
โโโ items/ # Feature modules
โโโ dashboard/ # Dashboard components
โโโ simulation/ # Simulation feature
โโโ segmentation/ # RFM segmentation
| Category | Technologies |
|---|---|
| Framework | React 18, TypeScript 5 |
| Build | Vite 5 |
| State | Redux Toolkit, RTK Query |
| UI | shadcn/ui, Tailwind CSS |
| Charts | Recharts |
| i18n | react-intl |
This frontend connects to elastix-api:
GET /elasticity โ Price elasticity data
POST /simulate โ Run price simulation
GET /dashboard/segments โ Segment distribution
GET /dashboard/kpis โ Dashboard metrics
Contributions welcome! Please read CONTRIBUTING.md first.
# Fork & clone
git checkout -b feature/{issue-ref}
npm run lint
npm run test
git commit -m "issue-title"
git push origin feature/{issue-ref}
# Open PRThis project demonstrates dynamic pricing strategies using:
- RFM Analysis for customer segmentation
- Log-Log Regression for elasticity estimation (Paczkowski, 2018)
- What-If Modeling for revenue projection
- Backend API: elastix-api
- Data Source: UCI Online Retail Dataset (500k transactions)
MIT License โ see LICENSE
Made with โค๏ธ by @Mert-55

