explaingit

kanaries/pygwalker

15,774PythonAudience · dataComplexity · 2/5Setup · easy

TLDR

PyGWalker turns a pandas dataframe into a drag-and-drop Tableau-style chart explorer inside your Jupyter Notebook, build charts by dragging columns, no extra code needed per visualization.

Mindmap

mindmap
  root((PyGWalker))
    What it does
      Drag and drop charts
      Jupyter Notebook UI
      Tableau alternative
    Data sources
      pandas dataframe
      Jupyter environment
      R via GWalkR
    Chart types
      Bar and line
      Scatter and pie
      Facet and concat views
    Use cases
      Data exploration
      Outlier detection
      Report building
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Explore a CSV dataset visually by dragging columns into chart axes in a Jupyter Notebook without writing plot code each time.

USE CASE 2

Build faceted or concatenated views to compare multiple metrics across categories in an interactive notebook UI.

USE CASE 3

Clean and transform a dataframe visually and spot outliers before running statistical analysis.

USE CASE 4

Use natural-language queries to filter and visualize data without writing pandas code.

Tech stack

PythonpandasJupyter

Getting it running

Difficulty · easy Time to first run · 5min

In plain English

PyGWalker is a Python library that turns a pandas dataframe, the standard table-shaped object data scientists work with in Python, into an interactive visual interface, right inside a Jupyter Notebook. Instead of writing more code each time you want to look at your data a different way, you drag and drop columns into rows, columns, and color slots to build charts, the way you would in Tableau. The name is a play on "Python binding of Graphic Walker", under the hood it integrates Jupyter with Graphic Walker, which the README calls an open-source alternative to Tableau. You install it with pip install pygwalker or with conda from conda-forge. The basic usage is two lines after loading your dataframe: import pygwalker as pyg, then walker = pyg.walk(df). The interactive UI then appears in the notebook and you can build visualisations, zoom, pan, filter, change the chart type, create concat views by adding multiple measures, or split into a facet view by dropping a dimension into rows or columns. The README also lists features for cleaning and transforming the data visually, spotting outliers, and creating new variables from existing ones, as well as natural-language queries. There is a separate R wrapper called GWalkR, and a no-code Desktop App for working offline without writing code. You would use it when you have a dataframe and want to explore it visually without writing chart code each time, or when you want a Tableau-style point-and-click experience embedded in your notebook. The full README is longer than what was provided.

Copy-paste prompts

Prompt 1
I have a pandas dataframe df with sales data. Use PyGWalker to launch an interactive Tableau-style chart explorer for it in Jupyter in two lines of code.
Prompt 2
How do I create a faceted bar chart in PyGWalker by splitting my data across rows using a category column?
Prompt 3
Show me how to use PyGWalker's natural-language query feature to filter rows in my dataframe and build a chart.
Prompt 4
How do I save a PyGWalker visualization state so I can reopen it or share it with a colleague?
Open on GitHub → Explain another repo

← kanaries on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.