Supply and Demand Chart Generator
Features of the Tool:
- Interactive Chart: Displays supply and demand curves dynamically on the same graph.
- Input Validation: Ensures prices and quantities have matching counts.
- Dynamic Labels: Automatically adjusts the x-axis and y-axis values based on user input.
- Customizable Colors: Supply curve (blue) and demand curve (red) for better distinction.
- Tooltips: Interactive tooltips show price and quantity at each point.
Usage:
- Enter prices and quantities for the Supply Curve (e.g., Prices:
10, 20, 30
, Quantities:100, 200, 300
). - Enter prices and quantities for the Demand Curve (e.g., Prices:
30, 20, 10
, Quantities:300, 200, 100
). - Click “Generate Chart” to display the curves.