{"slug":"trials-and-conversion","title":"Trials and conversion rate","job":"growth","kind":"Bar and line","summary":"Weekly trials as bars with the trial-to-paid rate as a line on its own scale, so volume and quality read together.","useWhen":"Use it when a count and a rate move together and putting them on one axis would flatten one of them.","shows":["Brand kit","Two Y axes","Bar and line mix","Data labels"],"data":{"columns":["Week","Trials","Rate"],"rows":{"min":2,"max":16},"numberColumns":{"min":2,"max":2},"note":"The rate is a percentage, like 24.6."},"altText":"Bar and line chart of the 8 weeks from Aug 31 to Oct 19. Weekly trials started grew from 884 to 1,034, and the trial-to-paid rate, plotted as a line on its own scale, rose from 22.8% to 26.7%.","page":"https://www.chart-output.com/gallery/trials-and-conversion","spec":"https://www.chart-output.com/gallery/trials-and-conversion/spec.json","image":{"wide":{"url":"https://www.chart-output.com/gallery/trials-and-conversion-wide.webp","width":1120,"height":1280,"format":"webp"},"compact":{"url":"https://www.chart-output.com/gallery/trials-and-conversion-compact.webp","width":720,"height":1240,"format":"webp"}},"endpoint":{"method":"POST","url":"https://www.chart-output.com/api/v1/render","auth":"Authorization: Bearer <your API key>","body":"The JSON request, as application/json","freeRendersPerMonth":1000},"request":{"type":"bar","width":560,"height":640,"textScale":1.8,"format":"png","devicePixelRatio":2,"legend":{"display":true,"position":"top","style":"square","fontSize":13},"dataLabels":true,"data":{"labels":["Aug 31","Sep 7","Sep 14","Sep 21","Sep 28","Oct 5","Oct 12","Oct 19"],"datasets":[{"type":"bar","label":"Trials started","data":[884,912,951,938,975,1002,987,1034],"yAxisID":"y","order":1,"backgroundColor":"#3c5cdd","borderWidth":0,"borderRadius":{"topLeft":4,"topRight":4},"barPercentage":0.7,"datalabels":{"display":false}},{"type":"line","label":"Trial-to-paid rate, %","data":[22.8,23.4,24.1,24.6,25.2,25,26.1,26.7],"yAxisID":"y1","order":0,"borderColor":"#e0602a","backgroundColor":"#e0602a","borderWidth":4,"borderDash":[],"tension":0.25,"pointRadius":5,"pointBackgroundColor":"#e0602a","pointBorderColor":"#ffffff","pointBorderWidth":2,"datalabels":{"anchor":"end","align":"top","offset":6,"clamp":true,"color":["#b4461a","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","#b4461a"],"font":{"size":17,"weight":"700"},"numberFormat":{"suffix":"%","maximumFractionDigits":1}}}]},"options":{"plugins":{"tooltip":{"enabled":false}},"scales":{"x":{"grid":{"display":false},"border":{"color":"#e3e7ef"},"ticks":{"color":"#4a5368","maxRotation":0,"autoSkip":true,"maxTicksLimit":4}},"y":{"beginAtZero":true,"border":{"display":false},"grid":{"color":"#e3e7ef","drawTicks":false},"ticks":{"color":"#3c5cdd","padding":8,"maxTicksLimit":4},"grace":"95%"},"y1":{"display":true,"position":"right","beginAtZero":true,"grace":"14%","border":{"display":false},"grid":{"drawOnChartArea":false,"drawTicks":false},"ticks":{"color":"#b4461a","padding":8,"maxTicksLimit":4,"font":{"size":22}}}}},"kpiStrip":[{"label":"Trials, last week","value":"1,034","color":"#1d2640"},{"label":"Trial to paid","value":"26.7%","color":"#1d2640"},{"label":"Rate, 8 weeks","value":"+3.9 pts","color":"#13703f"}],"footer":{"left":"Source: product analytics","borderTop":true},"header":{"title":"Trials and conversion","subtitle":"Weekly, last 8 weeks","logoUrl":"https://www.chart-output.com/gallery/acme-logo.png","logoHeight":22},"theme":{"backgroundColor":"#ffffff","textPrimary":"#1d2640","textSecondary":"#4a5368","gridColor":"#e3e7ef","mode":"light"}},"sampleData":{"labels":["Aug 31","Sep 7","Sep 14","Sep 21","Sep 28","Oct 5","Oct 12","Oct 19"],"values":[[884,912,951,938,975,1002,987,1034],[22.8,23.4,24.1,24.6,25.2,25,26.1,26.7]],"series":["Trials","Rate"]},"howToChangeIt":"Replace data.labels and each data.datasets[].data with your numbers, then update header and kpiStrip to match. Or paste your numbers on the chart page, which writes the request for you.","brandKitRequest":{"note":"The exact request behind the image. \"brand\": \"acme\" is a demo brand kit on this site's own account; use your own kit slug, or leave it out.","request":{"type":"bar","width":560,"height":640,"textScale":1.8,"format":"png","devicePixelRatio":2,"brand":"acme","header":{"title":"Trials and conversion","subtitle":"Weekly, last 8 weeks"},"legend":{"display":true,"position":"top","style":"square","fontSize":13},"dataLabels":true,"data":{"labels":["Aug 31","Sep 7","Sep 14","Sep 21","Sep 28","Oct 5","Oct 12","Oct 19"],"datasets":[{"type":"bar","label":"Trials started","data":[884,912,951,938,975,1002,987,1034],"yAxisID":"y","order":1,"backgroundColor":"#3c5cdd","borderWidth":0,"borderRadius":{"topLeft":4,"topRight":4},"barPercentage":0.7,"datalabels":{"display":false}},{"type":"line","label":"Trial-to-paid rate, %","data":[22.8,23.4,24.1,24.6,25.2,25,26.1,26.7],"yAxisID":"y1","order":0,"borderColor":"#e0602a","backgroundColor":"#e0602a","borderWidth":4,"borderDash":[],"tension":0.25,"pointRadius":5,"pointBackgroundColor":"#e0602a","pointBorderColor":"#ffffff","pointBorderWidth":2,"datalabels":{"anchor":"end","align":"top","offset":6,"clamp":true,"color":["#b4461a","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","#b4461a"],"font":{"size":17,"weight":"700"},"numberFormat":{"suffix":"%","maximumFractionDigits":1}}}]},"options":{"plugins":{"tooltip":{"enabled":false}},"scales":{"x":{"grid":{"display":false},"border":{"color":"#e3e7ef"},"ticks":{"color":"#4a5368","maxRotation":0,"autoSkip":true,"maxTicksLimit":4}},"y":{"beginAtZero":true,"border":{"display":false},"grid":{"color":"#e3e7ef","drawTicks":false},"ticks":{"color":"#3c5cdd","padding":8,"maxTicksLimit":4},"grace":"95%"},"y1":{"display":true,"position":"right","beginAtZero":true,"grace":"14%","border":{"display":false},"grid":{"drawOnChartArea":false,"drawTicks":false},"ticks":{"color":"#b4461a","padding":8,"maxTicksLimit":4,"font":{"size":22}}}}},"kpiStrip":[{"label":"Trials, last week","value":"1,034","color":"#1d2640"},{"label":"Trial to paid","value":"26.7%","color":"#1d2640"},{"label":"Rate, 8 weeks","value":"+3.9 pts","color":"#13703f"}],"footer":{"left":"Source: product analytics","borderTop":true}},"withoutBrand":{"type":"bar","width":560,"height":640,"textScale":1.8,"format":"png","devicePixelRatio":2,"header":{"title":"Trials and conversion","subtitle":"Weekly, last 8 weeks"},"legend":{"display":true,"position":"top","style":"square","fontSize":13},"dataLabels":true,"data":{"labels":["Aug 31","Sep 7","Sep 14","Sep 21","Sep 28","Oct 5","Oct 12","Oct 19"],"datasets":[{"type":"bar","label":"Trials started","data":[884,912,951,938,975,1002,987,1034],"yAxisID":"y","order":1,"backgroundColor":"#3c5cdd","borderWidth":0,"borderRadius":{"topLeft":4,"topRight":4},"barPercentage":0.7,"datalabels":{"display":false}},{"type":"line","label":"Trial-to-paid rate, %","data":[22.8,23.4,24.1,24.6,25.2,25,26.1,26.7],"yAxisID":"y1","order":0,"borderColor":"#e0602a","backgroundColor":"#e0602a","borderWidth":4,"borderDash":[],"tension":0.25,"pointRadius":5,"pointBackgroundColor":"#e0602a","pointBorderColor":"#ffffff","pointBorderWidth":2,"datalabels":{"anchor":"end","align":"top","offset":6,"clamp":true,"color":["#b4461a","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","rgba(0,0,0,0)","#b4461a"],"font":{"size":17,"weight":"700"},"numberFormat":{"suffix":"%","maximumFractionDigits":1}}}]},"options":{"plugins":{"tooltip":{"enabled":false}},"scales":{"x":{"grid":{"display":false},"border":{"color":"#e3e7ef"},"ticks":{"color":"#4a5368","maxRotation":0,"autoSkip":true,"maxTicksLimit":4}},"y":{"beginAtZero":true,"border":{"display":false},"grid":{"color":"#e3e7ef","drawTicks":false},"ticks":{"color":"#3c5cdd","padding":8,"maxTicksLimit":4},"grace":"95%"},"y1":{"display":true,"position":"right","beginAtZero":true,"grace":"14%","border":{"display":false},"grid":{"drawOnChartArea":false,"drawTicks":false},"ticks":{"color":"#b4461a","padding":8,"maxTicksLimit":4,"font":{"size":22}}}}},"kpiStrip":[{"label":"Trials, last week","value":"1,034","color":"#1d2640"},{"label":"Trial to paid","value":"26.7%","color":"#1d2640"},{"label":"Rate, 8 weeks","value":"+3.9 pts","color":"#13703f"}],"footer":{"left":"Source: product analytics","borderTop":true}}}}