Chart Geo Choropleth
Choropleth world map of customers or revenue by country with legend and hover.
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
- Choropleth world map of customers or revenue by country with legend and hover.
- US states map shaded by store density, sales or incidents.
- Regional heat map with a ranked table of countries for screen readers.
Includes
- Choropleth map
- World map
- Us states map
- Bundled offline geometry
- Binned color scale
- Region hover readout
- Ranked table alternative
- Name or code matching
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 CLI
agentic-ui add chart-geo-choroplethInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/chart-geo-choroplethUsed 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.
- npm packages
d3-geotopojson-client- Registry dependencies
lib-primitives- Files
7 files
- components/agentic-ui/chart-geo-choropleth/chart-geo-choropleth/chart-geo-choropleth.tsx
- components/agentic-ui/chart-geo-choropleth/chart-geo-choropleth/region-map.tsx
- components/agentic-ui/chart-geo-choropleth/chart-geo-choropleth/geo-model.ts
- components/agentic-ui/chart-geo-choropleth/chart-geo-choropleth/world-topology.ts
- components/agentic-ui/chart-geo-choropleth/chart-geo-choropleth/us-topology.ts
- components/agentic-ui/chart-geo-choropleth/chart-geo-choropleth/choropleth-parts.tsx
- components/agentic-ui/chart-geo-choropleth/chart-geo-choropleth/geo-data.ts
Related components
Chart Boxplot
Box plot of API latency by region with quartiles, whiskers and slow outliers.
Details and live previewChart Bullet
KPI scorecard with target versus actual and poor, fair and good ranges.
Details and live previewChart Candlestick
Stock and cryptocurrency price chart with OHLC Japanese candlesticks and daily volume.
Details and live previewChart Cohort Retention
Weekly retention of product sign-up cohorts over the first twelve weeks.
Details and live preview