A dumbbell plot can be used to visualize two different values in time, or to show the difference between two different groups or viewpoints (e.g., one dot for male and another dot for female).
The dumbbell is a variant of the lollipop plot.
Dumbbell series requires loading the Highcharts and both
Here is an example for loading dumbbell modules into a webpage:
<script src="https://code.highcharts.com/highcharts.js"></script><script src="https://code.highcharts.com/highcharts-more.js"></script><script src="https://code.highcharts.com/modules/dumbbell.js"></script>
The demo below represents a change in life expectancy between 1960 and 2018.
The dot can be customized by:
series.marker.fillColor- color for the upper dot.
series.lowColor- color for the lower dot.
series.marker.radius- size of the dots.
The connector line can be customized by:
series.connectorColor- color for the connector line.
series.connectorWidth- width of the connector line.