Highcharts.chart('container', {
chart: {
type: 'columnrange',
inverted: true
},
accessibility: {
description: 'Image description: A column range chart compares the monthly temperature variations throughout 2017 in Vik I Sogn, Norway. The chart is interactive and displays the temperature range for each month when hovering over the data. The temperature is measured in degrees Celsius on the X-axis and the months are plotted on the Y-axis. The lowest temperature is recorded in March at minus 10.2 Celsius. The lowest range of temperatures is found in December ranging from a low of minus 9 to a high of 8.6 Celsius. The highest temperature is found in July at 26.2 Celsius. July also has the highest range of temperatures from 6 to 26.2 Celsius. The broadest range of temperatures is found in May ranging from a low of minus 0.6 to a high of 23.1 Celsius.'
},
title: {
text: 'Temperature variation by month'
},
subtitle: {
text: 'Observed in Vik i Sogn, Norway, 2021 | ' +
'Source: <a href="https://www.vikjavev.no/ver/" target="_blank">Vikjavev</a>'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
yAxis: {
title: {
text: 'Temperature ( °C )'
}
},
tooltip: {
valueSuffix: '°C'
},
plotOptions: {
columnrange: {
dataLabels: {
enabled: true,
format: '{y}°C'
}
}
},
legend: {
enabled: false
},
series: [{
name: 'Temperatures',
data: [
[-13.9, 5.2],
[-16.7, 10.6],
[-4.7, 11.6],
[-4.4, 16.8],
[-2.1, 27.2],
[5.9, 29.4],
[6.5, 29.1],
[4.7, 25.4],
[4.3, 21.6],
[-3.5, 15.1],
[-9.8, 12.5],
[-11.5, 8.4]
]
}]
});