SaaS Revenue Simulator
This interactive simulator visualizes projected monthly revenue for a SaaS business over 36 months. It shows how changes to current customers, monthly new customers, churn rate, and subscription price affect the revenue curve. Users adjust parameters via sliders, triggering immediate recalculation and chart updates. The projection is computed using a month-by-month growth model, rendered as an SVG line chart with D3.js, while React manages the interactive UI controls and state.
AI-generated descriptionSaaS Revenue Simulator
A compact React and D3.js application that simulates SaaS business revenue based on adjustable parameters:
- New customers per month
- Monthly churn rate
- Price per customer
How the Calculation Works
The simulation uses a month-by-month growth model that accounts for:
- Customer Acquisition: A fixed number of new customers join each month
- Customer Churn: A percentage of existing customers leave each month
- Revenue Calculation: Total customers multiplied by price per customer
For each month, the calculation follows this formula:
Total Customers(month n) = Total Customers(month n-1) + New Customers - (Churn Rate × Total Customers(month n-1))
Monthly Revenue = Total Customers × Price per Customer
Features
- Interactive sliders to adjust business parameters
- Real-time visualization updates
- 36-month revenue projection
- Responsive D3.js chart with monthly markers
Technologies Used
- React 18 for UI components and state management
- D3.js (v6.7.0) for data visualization
- Tailwind CSS for styling