{"slug":"quarter-to-goal","title":"Quarter to goal","job":"efficiency","kind":"Gauge","summary":"One number against its goal: a half-doughnut gauge with the attainment on the arc and the amounts in the strip.","useWhen":"Use it for a single \"how far to goal\" number in a weekly digest, a Slack post or a report cover.","shows":["Brand kit","Half doughnut","Data labels","KPI strip"],"data":{"columns":["Item","Value"],"rows":{"min":2,"max":2},"numberColumns":{"min":1,"max":1},"mustBeZeroOrMore":true,"note":"Two rows: what you have so far, then the goal. In $ thousands, or in dollars."},"altText":"Half-doughnut gauge of Q4 closed-won revenue against its goal: $112k of $150k, which is 75% of the goal, with $38k still to win.","page":"https://www.chart-output.com/gallery/quarter-to-goal","spec":"https://www.chart-output.com/gallery/quarter-to-goal/spec.json","image":{"wide":{"url":"https://www.chart-output.com/gallery/quarter-to-goal-wide.webp","width":1120,"height":1280,"format":"webp"},"compact":{"url":"https://www.chart-output.com/gallery/quarter-to-goal-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":"doughnut","width":560,"height":640,"textScale":1.8,"format":"png","devicePixelRatio":2,"legend":{"display":true,"position":"top","style":"square","fontSize":13},"dataLabels":true,"data":{"labels":["Closed so far","Left to goal"],"datasets":[{"label":"Goal","data":[112,38],"backgroundColor":["#3c5cdd","#e3e7ef"],"borderWidth":0}]},"options":{"rotation":-90,"circumference":180,"cutout":"66%","plugins":{"tooltip":{"enabled":false},"datalabels":{"anchor":"center","align":"center","offset":0,"color":["#ffffff","rgba(255,255,255,0)"],"font":{"size":22,"weight":"700"},"numberFormat":{"share":"total","style":"percent"}}}},"kpiStrip":[{"label":"Of goal","value":"75%","color":"#1d2640"},{"label":"Closed so far","value":"$112k","color":"#1d2640"},{"label":"Q4 goal","value":"$150k","color":"#1d2640"}],"footer":{"left":"Source: CRM","borderTop":true},"header":{"title":"Quarter to goal","subtitle":"Q4 closed-won against goal, $ thousands","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":["Closed so far","Q4 goal"],"values":[[112,150]],"series":["Value"]},"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":"doughnut","width":560,"height":640,"textScale":1.8,"format":"png","devicePixelRatio":2,"brand":"acme","header":{"title":"Quarter to goal","subtitle":"Q4 closed-won against goal, $ thousands"},"legend":{"display":true,"position":"top","style":"square","fontSize":13},"dataLabels":true,"data":{"labels":["Closed so far","Left to goal"],"datasets":[{"label":"Goal","data":[112,38],"backgroundColor":["#3c5cdd","#e3e7ef"],"borderWidth":0}]},"options":{"rotation":-90,"circumference":180,"cutout":"66%","plugins":{"tooltip":{"enabled":false},"datalabels":{"anchor":"center","align":"center","offset":0,"color":["#ffffff","rgba(255,255,255,0)"],"font":{"size":22,"weight":"700"},"numberFormat":{"share":"total","style":"percent"}}}},"kpiStrip":[{"label":"Of goal","value":"75%","color":"#1d2640"},{"label":"Closed so far","value":"$112k","color":"#1d2640"},{"label":"Q4 goal","value":"$150k","color":"#1d2640"}],"footer":{"left":"Source: CRM","borderTop":true}},"withoutBrand":{"type":"doughnut","width":560,"height":640,"textScale":1.8,"format":"png","devicePixelRatio":2,"header":{"title":"Quarter to goal","subtitle":"Q4 closed-won against goal, $ thousands"},"legend":{"display":true,"position":"top","style":"square","fontSize":13},"dataLabels":true,"data":{"labels":["Closed so far","Left to goal"],"datasets":[{"label":"Goal","data":[112,38],"backgroundColor":["#3c5cdd","#e3e7ef"],"borderWidth":0}]},"options":{"rotation":-90,"circumference":180,"cutout":"66%","plugins":{"tooltip":{"enabled":false},"datalabels":{"anchor":"center","align":"center","offset":0,"color":["#ffffff","rgba(255,255,255,0)"],"font":{"size":22,"weight":"700"},"numberFormat":{"share":"total","style":"percent"}}}},"kpiStrip":[{"label":"Of goal","value":"75%","color":"#1d2640"},{"label":"Closed so far","value":"$112k","color":"#1d2640"},{"label":"Q4 goal","value":"$150k","color":"#1d2640"}],"footer":{"left":"Source: CRM","borderTop":true}}}}