> For the complete documentation index, see [llms.txt](https://a-styd.gitbook.io/apexcharts-ruby/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://a-styd.gitbook.io/apexcharts-ruby/usage/polar-charts.md).

# Polar Charts

## Pie Chart

```erb
<%= pie_chart([
  {name: "Series A", data: 25},
  {name: "Series B", data: 100},
  {name: "Series C", data: 200},
  {name: "Series D", data: 125}
], legend: "left") %>
```

![Example Pie Chart](/files/Rq9sr97nDbMqTsuwDRmD)

## Donut Chart

```erb
<%= donut_chart([25, 100, 200, 125], theme: 'palette4') %>
```

![Example Pie Chart](/files/b5C4sSiN6VQflB006ZEo)

## Radial Bar Chart

Also called `circle_chart`.

```erb
<%= radial_bar_chart([
  {name: "Circle A", data: 25},
  {name: "Circle B", data: 40},
  {name: "Circle C", data: 80},
  {name: "Circle D", data: 45}
], legend: true) %>
```

![Example Circle Chart](/files/gtmnGmIxhyydC0Udr1VP)
