Slope chart

Show the change between two points in time for many items in a slope chart, with highlighted lines and end labels spread apart so they do not overlap.

React
import { SlopeChart } from 'boardplot/react/slope';
Use for
Change between two dates · Rank shift · Market share start to end · Survey shares by group, two waves
Not for
Intermediate periods; slope draws the first and last value of each series.

Vendor share with a folded Other line

Slope chart, 6 series from 2022 to 2026. Steepest riser: Avronde +3.9 (+18.1%); steepest faller: Corvid Systems −1.4 (−9.0%). Other: the 7 series below 5% of the endpoint total at both ends (Fernhill, Granite, Velquor, Ironwood, Vendor J, Kestrel, Larkspur), summed to 22.5 at 2022 and 22.9 at 2026. Avronde adds 3.9 points; the seven smallest vendors together hold 22.9% Illustrative market tracker · Market share in % of installed seats · 2022 vs 2026 Source: Illustrative vendor tracker, September 2026 Avronde 21.5 25.4 Avronde Corvid Systems 15.6 14.2 Corvid Systems Evermore 9.8 8.6 Evermore Brightpath 18.2 17.1 Brightpath Delta Works 12.4 11.8 Delta Works Other 22.5 22.9 Other 2022 2026

A slope chart of market share from 2022 to 2026 highlights Avronde rising from 21.5% to 25.4%, with five named vendors all losing share and the smallest vendors folded into one Other line at 22.9%.

Download SVG Fixture IDfold-other
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from {"width":900,"height":506} to the width of the site frame.

{
  "type": "slope",
  "data": {
    "categories": [
      {
        "id": "2022",
        "label": "2022",
        "date": "2022-12-31"
      },
      {
        "id": "2026",
        "label": "2026",
        "date": "2026-12-31"
      }
    ],
    "series": [
      {
        "id": "avronde",
        "label": "Avronde",
        "values": [
          21.5,
          25.4
        ]
      },
      {
        "id": "brightpath",
        "label": "Brightpath",
        "values": [
          18.2,
          17.1
        ]
      },
      {
        "id": "corvid",
        "label": "Corvid Systems",
        "values": [
          15.6,
          14.2
        ]
      },
      {
        "id": "deltaworks",
        "label": "Delta Works",
        "values": [
          12.4,
          11.8
        ]
      },
      {
        "id": "evermore",
        "label": "Evermore",
        "values": [
          9.8,
          8.6
        ]
      },
      {
        "id": "fernhill",
        "label": "Fernhill",
        "values": [
          4.6,
          3.9
        ]
      },
      {
        "id": "granite",
        "label": "Granite",
        "values": [
          4.2,
          3.4
        ]
      },
      {
        "id": "velquor",
        "label": "Velquor",
        "values": [
          3.9,
          3
        ]
      },
      {
        "id": "ironwood",
        "label": "Ironwood",
        "values": [
          3.4,
          2.8
        ]
      },
      {
        "id": "vendor-j",
        "label": "Vendor J",
        "values": [
          2.9,
          4.2
        ]
      },
      {
        "id": "kestrel",
        "label": "Kestrel",
        "values": [
          2.2,
          2.2
        ]
      },
      {
        "id": "larkspur",
        "label": "Larkspur",
        "values": [
          1.3,
          3.4
        ]
      }
    ]
  },
  "options": {
    "title": "Avronde adds 3.9 points; the seven smallest vendors together hold 22.9%",
    "subtitle": {
      "company": "Illustrative market tracker",
      "measure": "Market share",
      "period": "2022 vs 2026"
    },
    "unit": "% of installed seats",
    "source": "Illustrative vendor tracker, September 2026",
    "size": {
      "width": 1000
    },
    "foldBelowShare": 0.05,
    "highlight": "avronde"
  }
}

Regional outlook across two survey waves

Diverging slope chart, 6 series, one panel per group, Better above and Worse below zero, from Mar 2026 to Jun 2026. Net score rose in 5 of them; highest in Jun 2026: Iberia +55. The outlook brightened since March in every region except Benelux Expected change in business conditions, next 6 months in % of respondents Source: Illustrative survey data 2) Six countries; small samples pooled. 1) Estonia, Latvia and Lithuania. Alpine region Western Balkans 2) Baltic states 1) Benelux Iberia Nordics Net = Better − Worse in Jun 2026 (change vs Mar 2026) Mar 2026 Jun 2026 Better Worse −10 (+13) −21 (+12) +18 (+20) −1 (−7) +55 (+17) +34 (+11) 39 47 29 24 43 51 22 18 24 33 42 31 34 29 33 35 8 14 63 52 17 21 51 44

Six small diverging slope panels compare the share expecting better and worse conditions in March and June 2026; the net score rises in every region except Benelux, from +38 to +55 in Iberia, and falls from +6 to -1 in Benelux.

Download SVG Fixture IDdiverging-regions
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from {"width":960} to the width of the site frame.

{
  "type": "slope",
  "data": {
    "categories": [
      {
        "id": "mar",
        "label": "Mar 2026"
      },
      {
        "id": "jun",
        "label": "Jun 2026"
      }
    ],
    "series": [
      {
        "id": "nordics",
        "label": "Nordics",
        "values": [
          44,
          51
        ],
        "negative": [
          21,
          17
        ]
      },
      {
        "id": "iberia",
        "label": "Iberia",
        "values": [
          52,
          63
        ],
        "negative": [
          14,
          8
        ]
      },
      {
        "id": "baltics",
        "label": "Baltic states",
        "values": [
          31,
          42
        ],
        "negative": [
          33,
          24
        ],
        "footnote": 1
      },
      {
        "id": "alpine",
        "label": "Alpine region",
        "values": [
          24,
          29
        ],
        "negative": [
          47,
          39
        ]
      },
      {
        "id": "benelux",
        "label": "Benelux",
        "values": [
          35,
          33
        ],
        "negative": [
          29,
          34
        ]
      },
      {
        "id": "balkans",
        "label": "Western Balkans",
        "values": [
          18,
          22
        ],
        "negative": [
          51,
          43
        ],
        "footnote": 2
      }
    ]
  },
  "options": {
    "variant": "diverging",
    "diverging": {
      "labels": {
        "positive": "Better",
        "negative": "Worse"
      },
      "sort": "positive"
    },
    "title": "The outlook brightened since March in every region except Benelux",
    "subtitle": {
      "measure": "Expected change in business conditions, next 6 months"
    },
    "unit": "% of respondents",
    "footnotes": [
      "Estonia, Latvia and Lithuania.",
      "Six countries; small samples pooled."
    ],
    "source": "Illustrative survey data",
    "size": {
      "width": 1000
    }
  }
}

Team engagement across two waves

Diverging slope chart, 5 series, one panel per group, Favourable above and Unfavourable below zero, from Wave 1 to Wave 2. Net score rose in 3 of them; highest in Wave 2: Product and engineering +62. Low base: Finance. Engagement rose in three of five teams; Customer service gained most I would recommend this company as a place to work in % of respondents Source: Illustrative employee survey Finance Operations Product and engineering Sales Customer service Net = Favourable − Unfavourable in Wave 2 (change vs Wave 1) Wave 1 Wave 2 Favourable Unfavourable n < 30 n = 18 +33 (−13) n = 204 +19 (−6) n = 101 +62 (+8) n = 137 +50 (+10) n = 181 +29 (+23) 15 22 61 55 24 28 49 47 12 9 66 71 18 14 58 64 35 23 41 52

Five diverging slope panels show favorable and unfavorable shares by team across two waves; Customer service gains most, from a net of +6 to +29, while Finance falls by 13 points on a small base of 18, shown hatched.

Download SVG Fixture IDdiverging-team-engagement
JSON spec

This spec includes the theme shown and the options you selected.

Changed from the fixture: options.size from the report frame to the width of the site frame.

{
  "type": "slope",
  "data": {
    "categories": [
      {
        "id": "w1",
        "label": "Wave 1"
      },
      {
        "id": "w2",
        "label": "Wave 2"
      }
    ],
    "series": [
      {
        "id": "sales",
        "label": "Sales",
        "values": [
          58,
          64
        ],
        "negative": [
          18,
          14
        ],
        "n": [
          142,
          137
        ]
      },
      {
        "id": "ops",
        "label": "Operations",
        "values": [
          49,
          47
        ],
        "negative": [
          24,
          28
        ],
        "n": [
          210,
          204
        ]
      },
      {
        "id": "product",
        "label": "Product and engineering",
        "values": [
          66,
          71
        ],
        "negative": [
          12,
          9
        ],
        "n": [
          96,
          101
        ]
      },
      {
        "id": "finance",
        "label": "Finance",
        "values": [
          61,
          55
        ],
        "negative": [
          15,
          22
        ],
        "n": [
          21,
          18
        ]
      },
      {
        "id": "service",
        "label": "Customer service",
        "values": [
          41,
          52
        ],
        "negative": [
          35,
          23
        ],
        "n": [
          175,
          181
        ]
      }
    ]
  },
  "options": {
    "variant": "diverging",
    "diverging": {
      "labels": {
        "positive": "Favourable",
        "negative": "Unfavourable"
      }
    },
    "title": "Engagement rose in three of five teams; Customer service gained most",
    "subtitle": {
      "measure": "I would recommend this company as a place to work"
    },
    "unit": "% of respondents",
    "source": "Illustrative employee survey",
    "size": {
      "width": 1000
    }
  }
}

Minimal spec

Save this spec as slope.json and run the command.

{
  "type": "slope",
  "data": {
    "categories": [{ "id": "2025", "label": "2025" }, { "id": "2026", "label": "2026" }],
    "series": [
      { "id": "north", "label": "North", "values": [80, 100] },
      { "id": "south", "label": "South", "values": [90, 70] }
    ]
  },
  "options": { "unit": "$k", "title": "North grows while South declines", "source": "Illustrative data" }
}
npx boardplot render slope.json --out slope.svg