{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"provenance":[],"authorship_tag":"ABX9TyOUyVZGsP236p26ZXnH/rXn"},"kernelspec":{"name":"python3","display_name":"Python 3"},"language_info":{"name":"python"}},"cells":[{"cell_type":"markdown","source":["# Sunburst Charts\n","\n","Multilevel pie charts are known as sunburst charts. We can create a sunburst chart using the `plotly.express` `px.sunburst()` function. Let's say we have a family tree that we want to represent using a sunburst chart. With `px.sunburst()`, each row of the `DataFrame` is a sector of the sunburst. Each sector in the sunburst chart is analogous to a slice of the pie in a pie chart."],"metadata":{"id":"BLXMslJkfFfB"}},{"cell_type":"code","execution_count":1,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":542},"id":"01oiKxjbfDMp","executionInfo":{"status":"ok","timestamp":1706150403572,"user_tz":300,"elapsed":3958,"user":{"displayName":"Katherine Walden","userId":"17094108395123900917"}},"outputId":"f87dca12-ca95-4548-c9a7-9343f033b133"},"outputs":[{"output_type":"display_data","data":{"text/html":["\n","
\n","\n","