RechartsGeographic

Sortable State Bar

Sortable state bar with search and expand features for detailed state analysis.

Preview placeholder

state-bar-sortable-v1

Installation

Terminal
npx @ontopic/viz add recharts/generic/state-bar-sortable-v1

Props

PropTypeDescription
dataStateData[]State-level data
expandablebooleanAllow expanding to show all states

See full TypeScript interface on GitHub for all props.

Usage Example

TypeScript
import { SortableStateBar } from '@/viz/components/recharts/generic/state-bar-sortable-v1';