Skip to content

sherylmathew11/smartchart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

title SmartChart
emoji 📊
colorFrom blue
colorTo indigo
sdk streamlit
sdk_version 1.53.1
app_file smartchart_agent.py
pinned false

SmartChart

SmartChart is a modern AI data analysis interface that transforms natural language queries into actionable insights and visualizations. It combines high-performance LLMs with isolated code execution to deliver a secure, streamlined workspace for multi‑CSV exploration.

Core Capabilities

  • Multi‑File Support: Upload and explore multiple CSVs with tabbed views.
  • Automated Data Profiling: Quick preview, schema, and statistics in a minimal UI.
  • Natural Language Analysis: Ask questions and generate charts via chat.
  • Isolated Execution: Secure Python code execution powered by E2B Sandboxes.
  • Session Persistence: Keeps chat history and visuals during your session.
  • Dynamic Data Export: Produces filtered CSV outputs when applicable.

Setup and Deployment

1. Environment Configuration

Ensure you have active API credentials for:

  • Hugging Face: Model routing and inference.
  • E2B: Remote code interpretation.

2. Installation

pip install -r requirements.txt

3. Running On Your Machine

  • Windows
python -m streamlit run smartchart_agent.py
  • Mac
streamlit run smartchart_agent.py

Usage

  1. Add your Hugging Face and E2B API keys in the sidebar.
  2. Upload one or more CSV files.
  3. Explore each dataset under Data Explorer.
  4. Ask a question in the chat to generate charts or filtered outputs.

About

Make charts the smart way

Resources

Stars

Watchers

Forks

Contributors

Languages