Components

Category Distribution

A component to visualize categorical data

The CategoryDistribution component is a clean component to displaying categorical data.

Example

Here's an example of the CategoryDistribution in action, monitoring a fictional marketing service.

100+8.2%
Marketing
Sales
Development
Support
Learn how to use the Nuxt Charts CLI to get premium components.

Props

PropTypeDefaultDescription
primaryValuestring | numberThe main value to display
gapstring | number0The gap between the items
categoriesCategoryItem[]Array of category items
trendTrendIndicatorOptional trend indicator object
legendClassstring''Additional classes for the legend
showFullLabelbooleanfalseShow full label instead of truncated