import { useModelState } from "@/store/model-store"; import { BarChart2, Clock, Droplets, LineChart, Link, MessageCircle, Newspaper, RefreshCw, Wind, X, } from "lucide-react"; import { useShallow } from "zustand/react/shallow"; import { Badge } from "../ui/badge"; import { Button } from "../ui/button"; import { Card, CardContent } from "../ui/card"; export function AnalyticsPanel({ setShowAnalytics, }: { setShowAnalytics: (show: boolean) => void; }) { const { selectedModel, setSelectedModel } = useModelState( useShallow((state) => ({ selectedModel: state.selectedModel, setSelectedModel: state.setSelectedModel, models: state.models, })) ); return (
Analytics

Information in radius will be analyzed

Using: {selectedModel}
Area Price History

10,000,000 Baht

Overall Price History of this area

{/* Simple line chart simulation */}
Price Prediction

15,000,000 Baht

The estimated price based on various factors.

{/* Simple line chart simulation */}
Flood Factor Moderate
Air Factor Bad
{/* Local News Section */}

Local News

New BTS Extension Planned

The BTS Skytrain will be extended to cover more areas in Sukhumvit by 2025.

2 days ago
Property Tax Changes

New property tax regulations will take effect next month affecting luxury condominiums.

1 week ago
); }