We are releasing the first public version of the OnionRings python package, which provides a simple interface to make nested pie charts in matplotlib using pandas dataframes.

The package is available on GitHub

OnionRings is a python package to automate the plotting of nested pie charts, a.k.a, “onion rings.” The package was inspired by the nested pie charts example provided by matplotlib here.

Onion rings help visualize nested slices of data. OnionRings automates the creation of these nested pie charts and is made especially convenient in conjunction with pandas dataframes.

Onion ring plot