Skip to content

SakinaMuzzammil/ai_csv_graph_visualization_platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Powered CSV-to-Graph Visualization Platform

A customized data visualization application that allows users to upload CSV files, explore datasets, and generate interactive charts. Based on an open-source project with additional customization.

In this repository, you will find an example code for creating an interactive chat experience that allows you to ask questions about your CSV data. The code uses Pandas Dataframe Agent from LangChain and a GPT model from Azure OpenAI Service to interact with the data. To make the chat more versatile, I incorporated some prompt engineering techniques that instruct the GPT model to use the popular data visualization library, Matplotlib, to create charts based on your queries. The chart is then saved and visualized using the Streamlit frontend interface. This feature can create any type of chart (pie, line, scatter, etc.) as long as you provide clear instructions. Additionally, the code can also return the dataframe as a table or provide a straightforward answer.

Features

  • 📂 Upload CSV datasets
  • 🤖 AI-powered data analysis
  • 📊 Interactive chart generation
  • 📈 Multiple chart types (Bar, Pie, Line, Scatter)
  • 💬 Natural language queries
  • ⚡ Streamlit-based web interface

The data for analysis is sourced from Kaggle's Telco Customer Churn dataset, providing a comprehensive view of customer information to develop effective retention programs.

To run this Streamlit web app

streamlit run run.py

Sample query to give a straightforward answer. alt text

Sample query to show the result in the table. alt text

Sample query to show the result in a bar chart. alt text

Sample query to show the result in a pie chart. alt text

Author: Sakina muzzammil

Thank you for exploring this project !

About

AI-powered platform for visualizing CSV graphs and data with interactive charts and insights, Ai chats, Interactive charts, Tables and Natural Language Queries

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors