{"id":67658,"date":"2026-12-01T08:23:42","date_gmt":"2026-12-01T05:23:42","guid":{"rendered":"https:\/\/wpcalc.com\/en\/?p=67658"},"modified":"2026-12-01T08:23:42","modified_gmt":"2026-12-01T05:23:42","slug":"bar-graph-maker-create-a-bar-chart-online","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/statistics\/bar-graph-maker-create-a-bar-chart-online\/","title":{"rendered":"Bar Graph Maker \u2013 Create a Bar Chart Online"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Turn Your Data into a Bar Chart<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"67658\" data-favorite-title=\"Bar Graph\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/statistics\/bar-graph-maker-create-a-bar-chart-online\/\" data-favorite-excerpt=\"Paste your data and turn it into a clean bar chart \u2014 grouped, stacked or 100% stacked, vertical or horizontal \u2014 with custom colors, labels and SVG\/PNG export.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-wpcalc-bar-chart-2\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/statistics\/bar-graph-maker-create-a-bar-chart-online\/\" method=\"POST\" class=\"calculator\" id=\"calculator-67658\" data-post=\"67658\"><fieldset class=\"fieldset-input is-2\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"field is-single\" id=\"input-1\"><label for=\"field-1\">Data \u2014 category and values<\/label><textarea id=\"field-1\" name=\"data_category_and_values\">Month, Sales, Costs\r\nJan, 120, 90\r\nFeb, 150, 110\r\nMar, 135, 95\r\nApr, 180, 130\r\nMay, 160, 120<\/textarea><\/div><div class=\"is-single field\" id=\"input-2\"><span class=\"font-semibold\">Chart options<\/span><\/div><div class=\"field\" id=\"input-3\"><label for=\"field-3\">Chart title<\/label><input type=\"text\" name=\"chart_title\" id=\"field-3\" step=\"any\" value=\"Monthly Sales and Costs\"\/><\/div><div class=\"field\" id=\"input-4\"><label for=\"field-4\">Orientation<\/label><div class=\"grid grid-cols-1\"><select id=\"field-4\" name=\"orientation\"><option value=\"vertical\" selected>Vertical bars<\/option><option value=\"horizontal\">Horizontal bars<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-5\"><label for=\"field-5\">Bar layout<\/label><div class=\"grid grid-cols-1\"><select id=\"field-5\" name=\"bar_layout\"><option value=\"grouped\" selected>Grouped<\/option><option value=\"stacked\">Stacked<\/option><option value=\"stack100\">100% stacked<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-6\"><label for=\"field-6\">Category axis label<\/label><input type=\"text\" name=\"category_axis_label\" id=\"field-6\" step=\"any\" value=\"Month\"\/><\/div><div class=\"field\" id=\"input-7\"><label for=\"field-7\">Value axis label<\/label><input type=\"text\" name=\"value_axis_label\" id=\"field-7\" step=\"any\" value=\"Amount\"\/><\/div><div class=\"field is-checkbox\" id=\"input-8\"><input type=\"checkbox\" id=\"field-8\" value=\"1\"\/><label for=\"field-8\">Custom value-axis range<\/label><\/div><div class=\"field\" id=\"input-9\" hidden><label for=\"field-9\">Axis minimum<\/label><input type=\"number\" name=\"axis_minimum\" id=\"field-9\" step=\"any\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-10\" hidden><label for=\"field-10\">Axis maximum<\/label><input type=\"number\" name=\"axis_maximum\" id=\"field-10\" step=\"any\" value=\"200\"\/><\/div><div class=\"field\" id=\"input-11\"><label for=\"field-11\">Gridline intervals<\/label><input type=\"text\" name=\"gridline_intervals\" id=\"field-11\" aria-describedby=\"calc-info-11\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" max=\"15\" value=\"5\"\/><small id=\"calc-info-11\">0 hides the gridlines; tick labels stay at \u201cnice\u201d round values.<\/small><\/div><div class=\"field\" id=\"input-12\"><label for=\"field-12\">Value labels on bars<\/label><div class=\"grid grid-cols-1\"><select id=\"field-12\" name=\"value_labels_on_bars\"><option value=\"value\" selected>Values<\/option><option value=\"percent\">Percent of row total<\/option><option value=\"off\">Hide labels<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-13\"><label for=\"field-13\">Legend<\/label><div class=\"grid grid-cols-1\"><select id=\"field-13\" name=\"legend\"><option value=\"right\" selected>Right<\/option><option value=\"below\">Below chart<\/option><option value=\"off\">Hide<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-14\"><label for=\"field-14\">Sort categories<\/label><div class=\"grid grid-cols-1\"><select id=\"field-14\" name=\"sort_categories\"><option value=\"none\" selected>Original order<\/option><option value=\"desc\">Largest total first<\/option><option value=\"asc\">Smallest total first<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-15\"><label for=\"field-15\">Color palette<\/label><div class=\"grid grid-cols-1\"><select id=\"field-15\" name=\"color_palette\"><option value=\"default\" selected>Balanced (default)<\/option><option value=\"okabe\">Okabe\u2013Ito \u2014 colour-blind safe<\/option><option value=\"bright\">Bright contrast<\/option><option value=\"pastel\">Pastel<\/option><option value=\"gray\">Grayscale (print)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-16\"><label for=\"field-16\">Bar gap<\/label><input type=\"text\" name=\"bar_gap\" id=\"field-16\" aria-describedby=\"calc-unit-16 calc-info-16\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" max=\"80\" value=\"20\"\/><div class=\"unit\" id=\"calc-unit-16\">%<\/div><small id=\"calc-info-16\">Empty space between category groups, as a share of one category slot (0% = bars touch).<\/small><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"67658\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Your Chart and Data<\/h3><div class=\"result-box\"><div class=\"field-result is-column\" id=\"output-1\"><span class=\"field-title\"><span>Bar chart<\/span><\/span><span class=\"field-value\" id=\"result-1\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-2\"><span class=\"field-title\"><span>Data table<\/span><\/span><span class=\"field-value\" id=\"result-2\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-3\"><span class=\"field-title\"><span>Method and notes<\/span><\/span><span class=\"field-value\" id=\"result-3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"67658\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Bar Graph Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ T_i = \\sum_{j=1}^{m} v_{ij} \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(v_{ij}\\) \u2014 the value of series \\(j\\) in category \\(i\\) (e.g. Sales in April)<\/li>\n<li>\\(T_i\\) \u2014 row total: the sum of all series values in category \\(i\\)<\/li>\n<li>\\(m\\) \u2014 number of series (up to 5)<\/li>\n<\/ul>\n<p>Every bar's length is proportional to its value and anchored at the zero line. In a stacked layout the bar reaches the row total \\(T_i\\); in a 100% stacked layout each segment is drawn as the share \\(p_{ij} = \\frac{v_{ij}}{T_i} \\times 100\\%\\), so every bar fills the entire axis and only the composition is visible.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Bar Graph \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> with the default data (Sales and Costs for Jan\u2013May), set <strong>Bar layout<\/strong> to \u201cStacked\u201d and look at April.<\/p>\n<p>\\[ T_{\\text{Apr}} = 180 + 130 = 310 \\]<\/p>\n<p>\\[ p_{\\text{Sales}} = \\frac{180}{310} \\times 100 \\approx 58.1\\%, \\qquad p_{\\text{Costs}} \\approx 41.9\\% \\]<\/p>\n<p><strong>Result:<\/strong> April's stacked bar reaches 310, with Sales contributing 58.1% and Costs 41.9%. Across the whole period Sales total 745 and Costs 545, a grand total of 1,290.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to Use the Calculator<\/h2>\n<ol>\n<li>In <strong>Data \u2014 category and values<\/strong>, type or paste one line per category: the category name, then up to 5 series values. The first line can be a header with the series names, e.g. <code>Month, Sales, Costs<\/code>. Commas, semicolons and tabs all work, so you can paste straight from a spreadsheet.<\/li>\n<li>Enter a <strong>Chart title<\/strong>, then choose the <strong>Orientation<\/strong> (Vertical bars or Horizontal bars) and the <strong>Bar layout<\/strong> (Grouped, Stacked or 100% stacked).<\/li>\n<li>Fill in the <strong>Category axis label<\/strong> and <strong>Value axis label<\/strong>. With <strong>Custom value-axis range<\/strong> checked, set the <strong>Axis minimum<\/strong> and <strong>Axis maximum<\/strong> yourself; uncheck it and the axis starts at 0 (or at the data when negative values are present) and extends just past the tallest bar or stack.<\/li>\n<li>Adjust the look of the chart: <strong>Gridline intervals<\/strong> (0 hides the gridlines), <strong>Value labels on bars<\/strong>, <strong>Legend<\/strong> position, <strong>Sort categories<\/strong>, <strong>Color palette<\/strong> and <strong>Bar gap<\/strong>.<\/li>\n<li>Hover over any bar for an exact-value tooltip. Use the <strong>Copy data as CSV<\/strong>, <strong>Download SVG<\/strong> and <strong>Download PNG<\/strong> buttons under the chart to export your work.<\/li>\n<\/ol>\n<h2>What a Bar Graph Shows<\/h2>\n<p>A bar graph (or bar chart) compares a numeric value across categories with rectangles whose length is proportional to the value. Each category \u2014 a month, a product, a country or a survey answer \u2014 gets its own slot on the category axis, and the value axis shows the measured amount. Because the axis is anchored at zero, the eye can compare lengths directly, which makes bar charts one of the most reliable charts for reading exact differences.<\/p>\n<p>The layout controls what comparison the chart emphasizes. <strong>Grouped<\/strong> bars place the series side by side within each category, which is best when you want to compare individual values \u2014 for example, Sales against Costs month by month. <strong>Stacked<\/strong> bars pile the series on top of each other, so the bar's full length is the row total \\(T_i\\) and the segments give a rough sense of composition. <strong>100% stacked<\/strong> bars rescale every category to the same full length, showing only each value's percentage share \\(p_{ij}\\).<\/p>\n<p>Orientation matters too. Vertical bars suit time series and short category names, reading left to right like a timeline. Horizontal bars give long labels room to breathe and make rankings easy to scan from top to bottom. If you want to show how one single total breaks down into parts rather than compare across categories, the <a href=\"https:\/\/wpcalc.com\/en\/statistics\/pie-chart-maker-create-a-pie-chart-online\/\">Pie Chart Maker<\/a> is the better tool.<\/p>\n<h2>Choosing the Right Layout<\/h2>\n<table>\n<thead>\n<tr>\n<th>Layout<\/th>\n<th>Best for<\/th>\n<th>Watch out for<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Grouped<\/td>\n<td>Comparing each series side by side within a category<\/td>\n<td>Gets crowded with more than 4\u20135 series<\/td>\n<\/tr>\n<tr>\n<td>Stacked<\/td>\n<td>Category totals plus a rough sense of composition<\/td>\n<td>Middle segments are hard to compare across categories<\/td>\n<\/tr>\n<tr>\n<td>100% stacked<\/td>\n<td>Shares of a whole when the totals are similar<\/td>\n<td>Absolute differences between categories disappear<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Tips and Limitations<\/h2>\n<ul>\n<li>The calculator accepts up to 30 categories and 5 series, with values within \u00b11 trillion. If a series has more than one column of data, missing cells are read as 0.<\/li>\n<li>Number formats are flexible: <code>1200<\/code>, <code>1,200<\/code>, <code>1 200<\/code> and even <code>12,5<\/code> (European decimal comma) are all understood, as are currency symbols and percent signs.<\/li>\n<li>By default the value axis starts at 0, which is the honest choice for bars \u2014 a truncated axis exaggerates small differences. Use the custom range only when you have a reason and label the axis clearly.<\/li>\n<li>100% stacked bars need non-negative values and a positive row total in every category; otherwise the percentages are undefined.<\/li>\n<li>Charts shown to others should use the <strong>Okabe\u2013Ito<\/strong> palette for colour-blind readers, or <strong>Grayscale (print)<\/strong> for printed documents.<\/li>\n<li>Value labels are skipped automatically where they would not fit \u2014 hover the bars for exact values instead, or read the data table below the chart.<\/li>\n<li>Everything is computed in your browser; nothing is uploaded. Before charting, you may want to summarise the raw variable with the <a href=\"https:\/\/wpcalc.com\/en\/statistics\/median-and-mode-calculator\/\">Median and Mode calculator<\/a> or check its spread with the <a href=\"https:\/\/wpcalc.com\/en\/statistics\/quartile-calculator-iqr-and-five-number-summary\/\">Quartile calculator<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Paste your data and turn it into a clean bar chart \u2014 grouped, stacked or 100% stacked, vertical or horizontal \u2014 with custom colors, labels and SVG\/PNG export.<\/p>\n","protected":false},"author":3168,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[74],"tags":[106],"class_list":["post-67658","post","type-post","status-publish","format-standard","hentry","category-statistics","tag-charts"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/3168"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=67658"}],"version-history":[{"count":1,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67658\/revisions"}],"predecessor-version":[{"id":67659,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67658\/revisions\/67659"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=67658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=67658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=67658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}