Loading repository dataβ¦
Loading repository dataβ¦
microsoft / repository
πͺ Data Formulator is an interactive AI-powered data analysis system makes it easy to connect, explore and visualize data.
Your data lives everywhere β databases, warehouses, BI tools, files. Coding agents can help, but only after someone wires them up, and answers come back as walls of code or text that are hard to follow, refine, or share.
Data Formulator makes it simple: connect any data, ask anything, get charts you can edit, branch, and share β all on one interactive, visual canvas.
https://github.com/user-attachments/assets/8e4f8a08-6423-4227-a1f7-559e0126ce31
[!TIP] Love the charts? They're built on Flint β our open-source visualization language that compiles compact, semantic chart specs into polished Vega-Lite, ECharts, and Chart.js. Explore the project site or drop it into your own app.
[07-13-2026] Data Formulator 0.8 alpha 1 β a preview of a more connected, agent-driven data workflow:
Preview with
pip install --pre data_formulator==0.8.0a1oruvx --from data_formulator==0.8.0a1 data_formulator.
Install the latest stable release (0.7) with
pip install data_formulatoror run instantly withuvx data_formulator.
Here are milestones that lead to the current design:
DataAgent + Data Thread, refine 30+ chart types (semantic chart engine powered by Flint) with a style-refinement agent, and share as reports. Plus persistent sessions & workspaces and a multilingual (English/Chinese) UI.DataAgent with thread memory, persistent workspaces, the semantic chart engine, and experimental knowledge distillation.uvx data_formulator or uv pip install data_formulatorData Formulator is a Microsoft Research project for data exploration with visualizations powered by AI agents. It combines UI interactions with natural language so analysts can communicate intent, branch into alternative analyses, and share results β starting from any data format (screenshot, text, CSV, or database).
Play with Data Formulator with one of the following options.
Option 1: Install via uv (recommended)
uv is an extremely fast Python package manager. If you have uv installed, you can run Data Formulator directly without any setup:
uvx data_formulator
Run uvx data_formulator --help to see all available options, such as custom port, sandboxing mode, and data storage location.
Option 2: Install via pip
Use pip for installation (recommend: install it in a virtual environment).
pip install data_formulator # install
python -m data_formulator # run
Data Formulator will be automatically opened in the browser at http://localhost:5567.
Option 3: Run with Docker
docker compose up --build
Open http://localhost:5567 in your browser. To stop, press Ctrl+C or run docker compose down.
Option 4: Codespaces
You can run Data Formulator in Codespaces; we have everything pre-configured. For more details, see CODESPACES.md.
Option 5: Working as developer
You can build Data Formulator locally and develop your own version. Check out details in DEVELOPMENT.md.
Besides uploading csv, tsv or xlsx files that contain structured data, you can ask Data Formulator to extract data from screenshots, text blocks or websites, or load data from databases use connectors. Then you are ready to explore. Ask visualizaiton questions, edit charts, or delegate some exploration tasks to agents. Then, create reports to share your insights.
https://github.com/user-attachments/assets/164aff58-9f93-4792-b8ed-9944578fbb72
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.