Black Lives Matter. Please consider donating to Black Girls Code today.

Plotly pie chart with variable radius

If I have a dataframe named df with columns type and weight and I want to do a graph similar to one of
this circular plots, where each color represents one single row of dataframe. and the radius is proportional to weight column value. Also The graph must show a legend with column name and its color, so if I click on some legend item, this item will dissapear from graphic.

How can I do this? Because rosewind polar plot is not what i am looking for