This project allows users to upload CSV or Excel data and generate charts based on that data. The application is built with the following technologies:
- Frontend: Next.js, TailwindCSS
- Backend: FastAPI (Python)
- Data Visualization: Lida Library
- Upload CSV or Excel files.
- Visualize data in chart form using the Lida library.
- Generate interactive and responsive charts.
- Simple and intuitive user interface.
- Frontend:
- Next.js
- TailwindCSS
- Backend:
- Python FastAPI
- Lida (for data visualization)
Before running the project, ensure you have the following installed:
- Node.js (for Next.js frontend)
- Python (for FastAPI backend)
- pip (Python package installer)
git clone https://github.com/sha-linimoorthy/Lida-HF.git
cd Lida-HFNavigate to the frontend folder and install dependencies:
cd frontend
npm installNavigate to the backend folder and install dependencies:
cd backend
pip install -r requirements.txtTo start the FastAPI backend server, run the following command:
cd backend
uvicorn main:app --port 3333This will start the FastAPI server at http://127.0.0.1:3333.
To start the Next.js frontend server, run the following command:
cd frontend
npm run devThe frontend will be available at http://localhost:2222.
- Open the Frontend Application in your browser:
http://localhost:2222. - Upload a CSV or Excel file by clicking the "Upload File" button.
- Select your file, and the backend will process the data and return a visualization.
- View the generated chart based on the data in the file.
The chart will be rendered using Lida, which will generate visualizations based on the columns and data you upload.
You can modify the chart rendering behavior by adjusting the visualization options in the frontend (e.g., bar chart, line chart, pie chart).
If you'd like to contribute to the project:
- Fork the repository.
- Create a new branch (
git checkout -b feature-name). - Make your changes and commit (
git commit -am 'Add feature'). - Push to the branch (
git push origin feature-name). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to open issues or submit pull requests. Happy coding! 😎