Skip to content

Leniolabs/ai-data-dashboard

Repository files navigation

AI Dashboard Generator

AI Dashboard Generator is an open-source dashboard generator based on Next.js and OpenAI's GPT3 technology. The tool allows users to feed existing tables or datasets, and from there, it understands the intent of the table and generates a visual representation of the data.

It utilizes a prompt engineered to make the AI reply using JSON to create simple and useful visualizations. You do not need to add any requirements for the titles or content, as the AI does it all by using the data you provide. You can upload your data in CSV files and then easily visualize your data and gain valuable insights into your business or organization.

You can try out the AI Dashboard Generator for yourself at https://labs.leniolabs.com/data-dashboard/.

Installation

To get started with the AI Dashboard Generator, you'll need to have Node.js and npm installed on your machine. Once you've done that, you can install the dependencies by running the following command in your terminal:

> npm install

Then, to use the AI Dashboard Generator, simply run the following command in your terminal:

> npm run dev

This will start the development server and open the project in your browser at http://localhost:3000.

Usage

From a user perspective, the usage of the tool should follow these next steps:

  1. Set up your API Key from OpenAI: To use AI Dashboard Generator, you'll need to set up your API key from OpenAI. You can find instructions on how to get your API key on the OpenAI website.

  2. Upload your CSV dataset (or use the example): Once you have your API key, you can upload your CSV dataset to AI Dashboard Generator. Alternatively, you can use the example dataset provided.

  3. Visualize your data: AI Dashboard Generator will automatically visualize your data using ChatGPT and Next.js. You can filter the parameters to customize your visualization further. Once you're happy with your visualization, you can export it directly into javascript code.

AI Dashboard Generator is a powerful tool that makes it easy to generate insightful data visualizations from your existing tables or datasets. Give it a try and see how it can help you make sense of your data!

Contributing

We welcome contributions from developers of all skill levels! If you'd like to contribute to the AI Dashboard Generator, please follow these steps:

  1. Fork the project repository.
  2. Create a new branch for your changes.
  3. Make your changes and test them thoroughly.
  4. Commit your changes and push them to your fork.
  5. Create a pull request to merge your changes into the main project.

Before submitting your pull request, please ensure that your code adheres to the project's coding standards and includes any necessary documentation or tests.

License

The AI Dashboard Generator is licensed under the MIT License. See the LICENSE file for more information.

Contact

If you have any questions or feedback about the AI Dashboard Generator, please feel free to contact us at [email protected]. We'd love to hear from you!