akshitagupta15june / WorldGDP-Analysis-using-ChatGPT-Dash-Plotly

World GDP Analysis using ChatGPT, Dash & Plotly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

World GDP Analysis using ChatGPT

This project demonstrates the use of the Dash framework to create an interactive web application for visualizing and analyzing world GDP data. The application integrates the Plotly library for data visualization and utilizes the OpenAI GPT-3 model for natural language processing interactions. Users can explore world GDP data, visualize it on a choropleth map, ask questions using a chat interface, and even compare GDP values of multiple countries over time using line charts.

Table of Contents

Setup

  1. Clone this repository to your local machine.
git clone https://github.com/akshitagupta15june/WorldGDP-Analysis-using-ChatGPT.git
cd WorldGDP-Analysis-using-ChatGPT 

Install the required dependencies using pip.

pip install pandas plotly dash openai

Replace 'YOUR_OPENAI_API_KEY_HERE' with your actual OpenAI API key in the app.layout section of the app.py file.

Usage

  1. Run the Dash app locally:
python app.py

Run the Dash app locally.

python app.py

Open a web browser and navigate to http://127.0.0.1:8050/ to access the application.

Features

Choropleth Map: Visualize world GDP data on an interactive choropleth map.

Color Scale Selector: Choose different color scales for the choropleth map.

Chat Interface: Ask questions about world GDP using the GPT-3 powered chat interface.

Dependencies

Python 3.x

Pandas

Plotly Express

Dash

OpenAI

Contributing

Contributions are welcome! If you have any ideas, suggestions, or improvements, feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License.

About

World GDP Analysis using ChatGPT, Dash & Plotly

License:MIT License


Languages

Language:Python 100.0%