# Polar Area — React Native chart for Expo

> Nightingale rose.

Equal-angle slices where the radius shows the value. Tap a petal for its value.

- Docs: https://expokit.in/docs/charts/polar-area
- Tier: Pro (ExpoKit Pro plan)
- Component: `<PolarAreaChart />`
- Category: Circular
- Also called: polar area chart, rose chart, coxcomb chart
- Platforms: iOS, Android, web
- Expo Go: yes (draws with react-native-svg)
- Variants: Polar area

## Installation

This chart is part of ExpoKit Pro. With a Pro plan, log the CLI in once and add it like any other item:

```bash
npx @expokit/cli@latest login
```

Plans: https://expokit.in/pricing

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `data` | `Datum[]` | — | Rows like [{ browser: "chrome", visitors: 275 }]. |
| `nameKey / valueKey` | `string` | `"name" / "value"` | Which keys hold the label and the number. |
| `config` | `ChartConfig` | — | Labels / colours keyed by name. |
| `size` | `number` | `260` | Diameter. |
| `showLegend` | `boolean` | `false` | Legend under the chart. |
| `legendVariant` | `LegendVariant` | `"rounded-square"` | Legend marker style. |
| `glow` | `boolean \| string[]` | `false` | Glow every segment or only named ones. |
| `isLoading` | `boolean` | `false` | Skeleton state. |
| `onSelect` | `(index, datum) => void` | — | Selection callback. |
| `emptyText` | `string` | `"No data"` | Shown when every value is 0 or data is empty. |
| `accessibilityLabel` | `string` | `generated summary` | VoiceOver / TalkBack label. Swipe up / down selects each slice. |
| `padAngle` | `number (deg)` | `2` | Gap between petals. |
| `levels` | `number` | `4` | Grid circles. |

## FAQ

### How do I make a polar area chart in React Native?

Use ExpoKit's Polar Area: with ExpoKit Pro, the ExpoKit CLI copies the Polar Area source into your Expo or React Native app. It's animated and touchable, and works on iOS, Android, web and in Expo Go.

### Does Polar Area work in Expo Go?

Yes. It draws with react-native-svg, which Expo Go includes, so it runs on iOS and Android with no development build.

### Is Polar Area free?

Polar Area is part of ExpoKit Pro. With a Pro plan, log the CLI in once and it installs the full source into your app.

## More

- Live preview, variants and code: https://expokit.in/docs/charts/polar-area
- Every ExpoKit component, screen, template and chart: https://expokit.in/llms.txt
- Install commands and props for every free component: https://expokit.in/llms-full.txt
- Pricing: https://expokit.in/pricing
