{label}
Price: ${payload[0].value}
{payload[1] &&Volume: {payload[1].value} units
}Best Price Opportunity
${bestMarket?.price}
{bestMarket?.name}
Highest Demand
{highDemandMarket?.name}
Make informed decisions with real-time market data and price analytics
Loading market data...
Current Price
${historicalData[historicalData.length - 1]?.price.toFixed(2)}
30-Day Average
$ {( historicalData.reduce((sum, item) => sum + item.price, 0) / historicalData.length ).toFixed(2)}
Recommended Price
${(historicalData[historicalData.length - 1]?.price * 1.05).toFixed(2)}
{crop.name}
{crop.name}
{bestMarket.market} - ${bestMarket.price.toFixed(2)}