This project can be used as a web application and is designed to help with basic visualizing, analysing and forecasting of data.
- Interactive data input with real-time chart preview
- Support for bar charts, line charts, and pie charts
- Customizable chart colors
- Server-generated visualizations that can be saved
- Basic statistical analysis of input data
- Simple forecasting based on input data
- Data history management for easy access to previous datasets
-
Frontend:
- React.js
- Ant Design (UI components)
- Recharts (for client-side charts)
- Axios (for API requests)
-
Backend:
- Python
- Flask (web framework)
- Pandas (data manipulation)
- Matplotlib (server-side chart generation)
- Scikit-learn (for forecasting)
-
Clone the repository:
git clone https://github.com/KSoss/data-plot.git -
Set up the backend:
cd backend pip install flask flask-cors pandas matplotlib seaborn scikit-learnCreate .env file in directory with the following info or your own preffered port information:
FLASK_RUN_PORT=5050 FLASK_ENV=productionThen start the backend server:
python data_dashboard.py -
Set up the frontend:
cd /frontend npm installCreate .env file in directory with the following info or your own preffered port information:
REACT_APP_API_URL=http://localhost:5050 PORT=3000start the frontend development server:
cd /frontend npm start
-
Data Input:
- Enter your data in the "Data Input & Preview" tab.
- Add categories and values using the provided form.
- Choose a chart type and customize colors as needed.
- The live preview will update in real-time as you input data.
-
Generate Visualization:
- After entering your data, click the "Generate Graph" button.
- View the server-generated visualization in the "Server-Generated Visualization" tab.
-
Analysis:
- "Analysis" tab to view basic statistical information about your data. Will only begin analysis if there are two or more pieces of data that have been used to generate a graph.
-
Forecast:
- Check the "Forecast" tab to see a simple projection based on your input data.
-
History:
- Use the "History" tab to view and load previous datasets. Data saved through localStorage.


