This is an analytical dashboard built using React, Recharts, Framer Motion, and Tailwind CSS. It provides insightful data visualization, including pie charts, bar graphs, and other interactive components.
- 📊 Data Visualization: Uses
Rechartsfor interactive graphs. - 🎭 Framer Motion: Smooth animations for a modern UI.
- 🎨 Tailwind CSS: Styled for a sleek and responsive design.
- 🚀 Performance Optimized: Uses best practices for fast rendering.
- 📡 State Management: Data fetching and state management via a global store.
- React.js (with Vite for fast development)
- Recharts (for visualizing data)
- Framer Motion (for smooth animations)
- Tailwind CSS (for styling)
To run the project locally, follow these steps:
git clone https://github.com/yourusername/analytical-dashboard.git
cd analytical-dashboardnpm installnpm run devThe project will run at http://localhost:5173/.
📂 analytical-dashboard
├── 📁 src
│ ├── 📁 components # Reusable UI components
│ ├── 📁 pages # Page views
│ ├── 📁 store # Global state management
│ ├── 📁 assets # Images and static files
│ ├── 📄 main.jsx # Root file
│ ├── 📄 App.jsx # Main component
├── 📄 package.json # Project dependencies
├── 📄 README.md # Project documentation
-
TrendsPage.jsx:- Contains two vertical bar charts:
- EV Registration Trends: Showcases EV adoption patterns in the top 10 cities over the years.
- EV Manufacturer Growth Trends: Highlights production changes of top EV manufacturers over time.
- Contains two vertical bar charts:
-
AnalyticsPage.jsx:- Displays key insights with multiple charts:
- Top 10 Cities with Most EVs
- EV Distribution by Country
- Top 10 EV Manufacturers by Production
- Area Chart: Yearly EV production trends categorized by brand.
- Displays key insights with multiple charts:
-
store/fetchAll.js: Handles API requests and manages global state using Zustand.
MIT License © 2025 Your Name
