RechartsGeographic

State Bar Chart

Interactive state-level bar chart with sorting and filtering capabilities.

Preview placeholder

state-bar-v1

Installation

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

Props

PropTypeDescription
dataStateData[]Data by US state
sortBy'value' | 'name'Sort order

See full TypeScript interface on GitHub for all props.

Usage Example

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