Launch sale — 60% off Pro
Contact
ChartRadar

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React A radar chart with a custom grid

A React radar chart with custom grid using polarRadius to control gridline positioning with shadcn/ui and Recharts

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Default grids don't always fit your data scale. This React radar chart uses PolarGrid with polarRadius=90 and radialLines= to render a single custom gridline at exactly 90 pixels from center, plus strokeWidth=1 for subtle styling. Built with shadcn/ui and Recharts, custom polarRadius values let you position gridlines at specific radii matching your data ranges or design requirements. Multiple values create multiple rings at precise positions. Perfect for specialized data visualizations where standard auto-generated grids don't align with your value thresholds, or when you want minimal grids with just one or two reference circles.

Pattern created by @haydenbleasel

Installation

Questions you might have