Star ratings chart
The average and how the stars split.
Definition · Updated Nov 2, 2026
A star ratings chart shows the average rating with a bar for each star level and its count, so a 4.3 made of many fives and a few ones reads differently from one made of fours. Use it for reviews, app ratings and feedback scores.
Pay once. Every update included.
Live preview
Sample data: reviews averaging 4.3, 1,412 five-star and 82 one-star
- Data shape
- A count per star level
- Good for
- Reviews, app ratings, feedback
- Avoid when
- Answers are not ratings
- Sizes
- XS, S, M and L, re-laid out from the data
Anatomy
Inspect it like the Figma file.
The same layers, names and tokens as the component. Select one to read its size, fill and style.
Layers
093 / Star ratings
- Layer
- star fill
- Type
- Vector
- Size
- 23 × 22
- Fill
- status/warning
- Group
- Marks · 9
Layers
093 / Star ratings
- Layer
- star fill
- Type
- Vector
- Size
- 23 × 22
- Fill
- status/warning
- Group
- Marks · 9
Layers
093 / Star ratings
- Layer
- star fill
- Type
- Vector
- Size
- 23 × 22
- Fill
- status/warning
- Group
- Marks · 9
Sizes
Re-laid out, never scaled.
The same data at XS, S, M and L. Every size is redrawn from the data, so text and line weights never shrink.
M against S
Width360 px480 px
Plot328 px440 px
Labels1212
Marks99
Height212 px246 px
Same tokens at every size: text styles, 1 px lines and mark radius stay put.
When to use
Behind the average.
Three signs it fits, and three signs another type fits better.
Code and Figma
One name in Figma and in code.
Every Figma property is a prop with the same name and values. One command installs it.
Figma
chart/093-ratings-reviews
npx shadcn add @chartory/star-ratingsimport { StarRatings } from "@/components/chartory/star-ratings"import { reviewRatings } from "./review-ratings"export function ReviewRatings() { return ( <StarRatings data={reviewRatings} size="m" legend={false} /> )}Hearth widget
Star ratings as a widget.
The chart in a Hearth card with a hero number and two blocks. One token set, light and dark.
EmberPreset
ChartoryDefault preset
Pick the blocks, the size and the preset for your own widget.
Read the Hearth widget docsFAQ
Star ratings questions.
What people ask before they put star ratings in a dashboard.
Something else?
hello@usechartory.comIn a column on the left with the stars (4.3, average rating), beside one bar per star level with its count (5 star 1,412).
They show how sure the average is and whether it hides a split, such as many fives and many ones.
One data object in the sample’s shape: a count per star level. The docs page lists every field and links its JSON Schema; the sample data comes with the component, so you can start from it and swap in your own.
Series take the preset’s data colours in order, and states such as up, down or warning take its status colours. Change the preset in Figma or in code to recolour every chart at once.
XS, S, M and L, in light and dark. Each size is laid out again from the data, so text and lines keep their size.
Yes. It plays in when it scrolls into view, and when the data changes every mark moves from its old place to its new one. With reduced motion on, it does not move.
Yes. The React component is free in the public registry in Hearth, no token needed; Signal comes with Code and Complete. The Figma component comes with Figma and Complete.
Ask for it by name. The MCP server tells the agent what data it needs and runs the same command: npx shadcn add @chartory/star-ratings. You review the diff.
Related types
Other ways to show distribution.
The same question, a different shape of answer. Every type ships in Figma and in code.
Same family
Distribution
17 types in Chartory answer this question.