An open API service indexing awesome lists of open source software.

https://github.com/akshitagupta15june/worldgdp-analysis-using-chatgpt-dash-plotly

World GDP Analysis using ChatGPT, Dash & Plotly
https://github.com/akshitagupta15june/worldgdp-analysis-using-chatgpt-dash-plotly

Last synced: 3 months ago
JSON representation

World GDP Analysis using ChatGPT, Dash & Plotly

Awesome Lists containing this project

README

          

# 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](#setup)
- [Usage](#usage)
- [Features](#features)
- [Dependencies](#dependencies)
- [Contributing](#contributing)
- [License](#license)

## Setup

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

Install the required dependencies using pip.
```bash
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:
```bash
python app.py
```

## Run the Dash app locally.
```bash
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.