JSFiddle - React, Tailwind, and code Playground
Awareness and usage of voice- and location-based machine learning functions
by pepperdigital
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
Highcharts.chart('container', {
chart: {
type: 'column'
},
credits: {
enabled: false
},
exporting: {
enabled: false
},
colors: ['#0097A9', '#6FC2B4'],
title: {
text: ''
},
tooltip: {
formatter: function () {
return this.series.name +
'<br><b>' + this.y + '%</b>';
}
},
xAxis: {
categories: [
'Mean',
'Median'
]
},
yAxis: {
min: 0,
max: 40,
labels: {
format: '{value}'
},
title: {
text: ''
}
},
legend: {
enabled: true
},
series: [
{
name: 'Women',
data: [
29,
27
]
},
{
name: 'Men',
data: [
16,
14
]
}
]
});