Geo Area Comparison
Regional sales scorecard: net sales, orders, order value and return rate by state.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this block
What it's for
- Regional sales scorecard: net sales, orders, order value and return rate by state.
- Country engagement against a fixed target, shaded by how far each country is above or below it.
- Side-by-side comparison of two or three sales territories on every KPI.
For A single metric with no comparison need, use Chart Geo Choropleth.
Includes
- Choropleth map
- Metric switch
- Absolute or benchmark shading
- Diverging benchmark scale
- Fixed or mean benchmark
- Direction aware deltas
- Side by side area comparison
- Best value highlight
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add geo-area-comparisonnpx shadcn@4.17.0 add @agentic-ui/geo-area-comparisonUsed in
A standalone component: drop it into any screen.
- Type
- Block
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
lucide-react- Registry dependencies
lib-charts-maps-2lib-primitives- Files
5 files
- components/agentic-ui/geo-area-comparison/index.ts
- components/agentic-ui/geo-area-comparison/types.ts
- components/agentic-ui/geo-area-comparison/area-model.ts
- components/agentic-ui/geo-area-comparison/geo-area-comparison.tsx
- components/agentic-ui/geo-area-comparison/area-parts.tsx
Related components
Geo Cluster Layer
EV charging network overview where clusters reveal how many stations are available, charging or faulted before zooming in.
Details and live previewGeo Location Picker
Checkout or order flows where the customer confirms a pickup or delivery point.
Details and live previewA11y Contrast Badge
Check in the browser whether the theme palette meets AA before opening the PR.
Details and live previewA11y Focus Manager
Confirmation dialog that returns focus to the button that opened it.
Details and live preview