Interactive data visualization dashboard built with React, Vite, Recharts, and Tailwind CSS.
Chart Vision is a frontend data visualization project that allows users to explore different chart types and build their own charts using custom data.
- 📈 Line charts
- 📊 Bar charts
- 📉 Area charts
- 🛠️ Custom chart builder
- ➕ Add custom data
- ✏️ Edit existing data
- 🗑️ Delete data
- 💾 Persistent data using browser
localStorage - 🔄 Dynamic chart updates
- 📱 Responsive interface
- 🧭 Client-side routing
- 🎨 Dark-themed dashboard
Visualizes changes in users and sales over time.
Compares users and sales across different data points.
Displays trends using filled areas beneath the data lines.
The Chart Builder allows users to create their own datasets.
Users can:
- Add a label for each data point.
- Enter user values.
- Enter sales values.
- Add the data to the dataset.
- Edit existing rows.
- Delete rows.
- Clear all stored data.
- Visualize the dataset using Line, Bar, or Area charts.
Custom data is stored in the browser using:
localStorage
/
└── /dashboard
├── /charts/line
├── /charts/bar
├── /charts/area
└── /charts/chart-builder
The root route redirects users to the dashboard.
React Application
│
▼
React Router
│
├── Dashboard
│
├── Line Chart
│
├── Bar Chart
│
├── Area Chart
│
└── Chart Builder
│
▼
localStorage
│
▼
Chart Data
│
┌────────┼────────┐
▼ ▼ ▼
Line Bar Area
Chart Chart Chart
- React 19
- JavaScript
- Vite
- Recharts
- Tailwind CSS
- React Router
- React Icons
- ESLint
- PostCSS
- Autoprefixer
Chart Vision/
│
├── README.md
├── eslint.config.js
├── index.html
├── package.json
├── postcss.config.js
├── tailwind.config.js
├── vite.config.js
│
└── src/
├── App.css
├── App.jsx
├── data.js
├── index.css
├── main.jsx
├── Router.jsx
│
└── Pages/
├── AreaChart.jsx
├── BarChart.jsx
├── ChartBuilder.jsx
├── Dashboard.jsx
└── LineChart.jsx
Make sure you have the following installed:
- Node.js
- npm
Clone the repository:
git clone <your-repository-url>Navigate into the project:
cd "Chart Vision"Install dependencies:
npm installStart the development server:
npm run devVite will provide the local development URL in the terminal.
Create a production build:
npm run buildPreview the production build locally:
npm run previewRun ESLint:
npm run lintreact
react-dom
react-icons
react-router-dom
recharts
Chart Vision was built to explore:
- React component architecture
- Client-side routing
- Data visualization
- Recharts
- Form handling
- Browser storage
- Dynamic UI updates
- Responsive frontend development
The project focuses on turning structured data into simple and interactive visualizations.
Chart Vision is a frontend-only application.
It currently does not use:
- Backend APIs
- Database
- User authentication
- External server-side storage
Custom chart data is stored locally in the browser using localStorage.
Sohail Khan