Create Charts From Your Data With Data Formulator
Data Formulator is an open-source Microsoft Research tool that builds charts from a dataset by description rather than by menu. You drag fields or type what you want in plain English, it derives the columns it needs on the fly, and it runs as a local web app with the AI model of your choice.
Update (November 2026): Data Formulator has changed a lot since this video (version 0.7 added agents, 30 plus chart types and reports), so today’s screens look different from the ones below.
Install and run
Data Formulator is a Python package that starts a local server and opens in your browser. It is MIT licensed, so commercial use is fine. Install it with pip and start it, ideally inside a virtual environment:
pip install data_formulator
python -m data_formulator
If you use uv, uvx data_formulator installs and starts it in one step. The project README lists the options, such as a custom port.
On first start, a configuration screen asks for an AI provider. Enter the provider, model name and API key for OpenAI, Azure or Anthropic, or point it at a local model through Ollama. You can switch models later, for example a stronger one for harder questions.
Load a dataset
The start screen offers four sources: built-in examples, a file upload, data pasted from the clipboard, or a database connection. I used the movies example for the demos.

Once loaded, the table sits at the bottom, the fields are listed on the right, and the center is where you pick a chart type or type a prompt. If you have used Power BI or Tableau, the layout feels familiar.

Drag and drop a chart
For production budget against worldwide gross, pick the scatter plot, drag production budget to the x axis and worldwide gross to the y axis. The chart appears straight away. Dropping a categorical field such as genre on color splits the points by group.

Derived columns
You can name a field that does not exist yet and let the AI calculate it. The movies data has no profit column, only gross and production budget. I typed “profit” into the y axis and clicked the AI icon. Data Formulator worked out the calculation, added a profit field to the dataset and drew the chart.
The new field stays in the dataset, so later charts can use it like any other column.
Charts from a prompt
Instead of dragging fields, you can describe the chart. A prompt such as “visualize the median profit of movies in each genre” makes the tool create the calculated columns and the chart in one go.

Check what it calculated before you trust the result. In my test, the chart showed a median profit ratio rather than an absolute profit, which is a reasonable reading of the prompt but not the only one. Each chart lets you export it as an image, inspect the data behind it and open it in an online editor for further tweaks.
If you have no question yet, the surprise button proposes charts to explore, for example how production budget relates to box office success.
Data threads
The left side of the app keeps every table, subset and chart as a data thread, so you can go back to any step and branch off in a different direction. Subsets the AI created can be renamed, exported and imported again later. Besides files, a data loader connects to databases such as MySQL and Postgres.
When it fits
Data Formulator is best for exploring a dataset quickly: trying chart ideas and derived fields without writing formulas, SQL or plotting code.
- Rapid exploration and prototyping of charts.
- Calculated fields without manual formulas.
- Local work: the app runs on your machine. With a cloud model such as OpenAI, the data the model needs is sent to that provider. With a local model through Ollama, nothing leaves your computer.
- A free, MIT licensed option for lightweight BI tasks.
For a similar drag and drop experience inside a Jupyter notebook, PyGWalker is worth a look, and PandasAI answers questions about a DataFrame in plain English. If you only need a quick chart from Excel data and no install, my free chart maker runs in the browser.
