AI-Driven Insights: How Perplexity and ChatGPT Improve Data Analysis