Skip to content

Pictogram Rating

Rating style
type: "rating"

Generate pictogram and isotype images, "3 of 4 dentists" or "7 in 10 people", as a grid of unit icons with a whole-count label. Try imejis free.

Edit it — this is the actual editor panel
Design JSON — “Pictogram” variant
{
  "title": "Rating sample",
  "description": "A dynamic star rating",
  "dimensions": {
    "width": 800,
    "height": 420
  },
  "background": {
    "color": "#ffffff"
  },
  "components": [
    {
      "id": "sample-rating",
      "key": "score",
      "type": "rating",
      "position": {
        "x": 180,
        "y": 90
      },
      "rotation": 0,
      "size": {
        "width": 440,
        "height": 240
      },
      "dynamic": true,
      "properties": {
        "value": 7,
        "max": 10,
        "iconShape": "custom",
        "activeColor": "#FBBF24",
        "inactiveColor": "#E5E7EB",
        "emptyStyle": "filled",
        "partial": "round",
        "showValue": true,
        "valueFormat": "countOfTotal",
        "opacity": 1,
        "customEmoji": "🧑",
        "perRow": 5,
        "valueColor": "#374151"
      }
    }
  ]
}

Rating examples

Real renders of the pictogram rating — each one is the same component with different property values, and the API payload below each preview reproduces it exactly.

3 of 4 dentists

The classic "3 of 4 recommend" pictogram — four unit icons, three filled.

API overrides for this example
{
  "score.iconShape": "custom",
  "score.customEmoji": "🦷",
  "score.max": 4,
  "score.value": 3,
  "score.perRow": 4,
  "score.partial": "round",
  "score.showValue": true,
  "score.valueFormat": "countOfTotal",
  "score.valueColor": "#374151"
}

7 in 10 people

A 5×2 grid of people highlighting a 7-in-10 share for a survey card.

API overrides for this example
{
  "score.iconShape": "custom",
  "score.customEmoji": "🧑",
  "score.max": 10,
  "score.value": 7,
  "score.perRow": 5,
  "score.partial": "round",
  "score.showValue": true,
  "score.valueFormat": "countOfTotal",
  "score.valueColor": "#374151"
}

When to use the pictogram style

  • "3 of 4 dentists recommend" style stat cards
  • "7 in 10 people" awareness and survey graphics
  • Health, charity and infographic unit counts

Use it dynamically via the API

Set '<key>.value' to the score for each render; max, colors and border props are overridable too.

Full API request with this variant's current values — the playground above sends only the properties you change
curl --location 'https://render.imejis.io/v1/{{YOUR_DESIGN_ID}}' \
--header 'dma-api-key: {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
    "score.value": 7,
    "score.max": 10,
    "score.iconShape": "custom",
    "score.activeColor": "#FBBF24",
    "score.inactiveColor": "#E5E7EB",
    "score.emptyStyle": "filled",
    "score.partial": "round",
    "score.showValue": true,
    "score.valueFormat": "countOfTotal",
    "score.opacity": 1,
    "score.customEmoji": "🧑",
    "score.perRow": 5,
    "score.valueColor": "#374151"
}'

Only send the properties you want to change — everything else keeps its design value. See the API documentation for all languages.

Other rating styles

See the rating component page for the full property reference and FAQs.

We use cookies to run the site and, depending on your region and your choice here, for analytics and marketing. See our Cookie Policy. You can change this any time from “Cookie settings” in the footer.