chartletv0.21.0chartlet.casoon.de

← All examples

Mean satisfaction by month, with 95 % confidence interval

Mean satisfaction by month as a line with a 95% confidence interval through every point: the scale reaches every limit, the value label sits above the bar, and the tooltip and the table give the interval. Illustrative survey, with a phone variant.

Mean satisfaction by month, with 95 % confidence interval

examples/monthly-satisfaction.json
{
  "schemaVersion": 1,
  "type": "line",
  "title": "Mean satisfaction by month, with 95 % confidence interval",
  "source": "Illustrative survey",
  "width": 720,
  "height": 380,
  "showValues": true,
  "valueAxis": {
    "title": "Score from 1 to 5",
    "max": 5
  },
  "data": [
    {
      "label": "Jan",
      "value": 3.1,
      "lower": 2.7,
      "upper": 3.5
    },
    {
      "label": "Feb",
      "value": 3.4,
      "lower": 3,
      "upper": 3.9
    },
    {
      "label": "Mar",
      "value": 3.9,
      "lower": 3.5,
      "upper": 4.2
    },
    {
      "label": "Apr",
      "value": 3.7,
      "lower": 3.2,
      "upper": 4.1
    },
    {
      "label": "May",
      "value": 4,
      "lower": 3.7,
      "upper": 4.3
    },
    {
      "label": "Jun",
      "value": 4.2,
      "lower": 3.8,
      "upper": 4.6
    }
  ],
  "mobile": {
    "width": 400,
    "height": 380
  }
}
Mean satisfaction by month, with 95 % confidence interval
Mean satisfaction by month, with 95 % confidence intervalLine chart with 6 categories. Highest: 4.2 (Jun). Lowest: 3.1 (Jan). Error bars show the interval from lower to upper; the table gives it for every point.2.53.03.54.04.55.0Score from 1 to 5Jan: 3.1 (2.7 to 3.5)3.1JanFeb: 3.4 (3 to 3.9)3.4FebMar: 3.9 (3.5 to 4.2)3.9MarApr: 3.7 (3.2 to 4.1)3.7AprMay: 4 (3.7 to 4.3)4MayJun: 4.2 (3.8 to 4.6)4.2Jun
Mean satisfaction by month, with 95 % confidence intervalLine chart with 6 categories. Highest: 4.2 (Jun). Lowest: 3.1 (Jan). Error bars show the interval from lower to upper; the table gives it for every point.2.53.03.54.04.55.0Score from 1 to 5Jan: 3.1 (2.7 to 3.5)3.1JanFeb: 3.4 (3 to 3.9)3.4FebMar: 3.9 (3.5 to 4.2)3.9MarApr: 3.7 (3.2 to 4.1)3.7AprMay: 4 (3.7 to 4.3)4MayJun: 4.2 (3.8 to 4.6)4.2Jun

Source: Illustrative survey

Show chart data
Data for Mean satisfaction by month, with 95 % confidence interval
CategoryValueInterval
Jan3.12.7 to 3.5
Feb3.43 to 3.9
Mar3.93.5 to 4.2
Apr3.73.2 to 4.1
May43.7 to 4.3
Jun4.23.8 to 4.6
  • Line chart (error bars)
  • Show a trend with its uncertainty