No—labels cannot contain commas in the Bar Chart Maker because its CSV-lite format reserves the comma as the label/value separator. Each non-empty row contains a label, exactly one comma, and then a numeric value. For example, North America,12 follows the accepted structure, while North, America,12 contains two commas and causes the entire request to be rejected.
The Bar Chart Maker is intentionally CSV-lite rather than full CSV. Quoting a label does not work around the restriction because quoted fields and quoted commas are unsupported. This is an input-format rule specific to this maker, not a general rule that applies to every charting application.

The comma is a reserved separator
Full CSV supports conventions for quoting fields that contain a delimiter, but this product deliberately excludes those conventions. Each row has one fixed structure: category label, one comma, numeric value. Because the parser does not recognize a second comma as part of the label, the complete request fails instead of guessing which comma should be the separator.
| Example row | Parsing issue | Result |
|---|---|---|
| North America,12 | One separator, with a label and numeric value | Accepted |
| North, America,12 | Two commas | Rejected |
| "North America",12 | Quoted field | Rejected |
| North America, | Missing numeric token | Rejected |
| ,12 | Empty label | Rejected |
Every non-empty row must contain exactly one comma. Blank or whitespace-only lines are ignored, but the completed input must contain 2 to 30 non-empty rows. Too few rows, too many rows, or one malformed row rejects the entire request. The tool never silently keeps only the first 30 rows, skips a bad row, substitutes zero, or produces a partial chart.
Rewrite a comma label without losing its meaning
When the comma is punctuation rather than essential information, replace it with another separator or adjust the wording:
- Use a semicolon, such as North America; East.
- Use a slash, such as Sales/Q1.
- Use a dash, such as Pre-launch.
- Rewrite the phrase as separate words, such as North America East.
All of these remain one category label because the row contains only its required separator comma. Punctuation still counts toward the label limit: a label may contain at most 24 UTF-16 code units. The exact limit is accepted, while one code unit beyond it fails. Leading and trailing whitespace around labels is trimmed.
Do not rely on quotation marks, backslashes, or HTML/XML entities to hide the comma. CSV-lite provides no such input escape. User strings are XML-escaped when the SVG is created, so an entity sequence remains visible label text rather than becoming a separator or adding another delimiter.
If two categories have the same name, duplicate labels are allowed. They remain separate bars in input order because the tool does not aggregate, sort, or infer units.
Make a bar chart with comma-free labels
- Rewrite each category label. Replace any internal comma with a semicolon, slash, dash, or clearer wording. Keep every label within the 24-code-unit limit, and decide whether the shortened wording still communicates the intended category.
- Create one row per category. Put the label first, followed by exactly one comma and a numeric value. Do not add a header row. The finished input must contain 2 to 30 non-empty rows; whitespace-only lines are ignored.
- Check each numeric value. Use a nonnegative, finite base-ten number without typed units, expressions, hexadecimal notation, Infinity, or NaN. Ordinary decimals and e/E scientific notation are accepted. A numeric token can contain at most 40 code units.
- Add an optional title and paste the rows. The title is optional, while every category row must follow the strict label/value format. Parsing and chart generation happen in the current browser, so the labels, values, title, and SVG are not uploaded.
- Generate the chart and correct any rejected row. A malformed label or value stops the entire generation request. Review the data rather than assuming the tool skipped the problematic row.
- Verify the preview. Check the category labels, five numeric reference ticks, baseline, zero bars, axis range, and tooltips. Pay particular attention to positive values that may look like zero beside a much larger value.
- Download the standalone SVG after the final review. The downloaded file is created from the exact SVG string shown in the preview. Editing the title or data immediately clears the previous preview, status, and download, so generate and download again after any change.
For a broader review before publishing, see these Bar Chart Maker tips and common mistakes. The tool creates the chart but does not judge whether its labels, scale, or presentation communicate the subject responsibly.
Keep number formatting parser-safe
A comma cannot be used as a thousands separator in the numeric field. For example, Sales,1,000 contains two commas: one between the label and value and another inside the value. It is rejected. Use an ungrouped numeric token such as Sales,1000 instead.
The number after the separator must be a strict nonnegative finite base-ten value. Zero is valid, and negative zero is normalized to zero. Nonzero values from 1e-300 through 1e300 are supported. A lexical nonzero value that underflows to zero is rejected, as is input above the supported maximum.
If the category needs a unit, put it in the label or optional title rather than appending it to the number. The tool does not evaluate formulas or infer measurement units from the data.
Check scale, zeros, and label visibility
The chart uses a nonnegative linear scale. Its upper bound follows a deterministic rule that rounds upward to a finite 1, 2, 5, or 10 multiple of a power of ten, and five evenly spaced reference ticks expose that range. Zero maps directly to the baseline. When every value is zero, the chart uses an explicit zero-to-one reference range, keeps all bars at zero height, and displays an all-zero note.
An extremely wide value range can make a positive bar visually indistinguishable from zero at SVG coordinate precision. The tooltip still reports the value, but the maker does not invent a minimum-height bar because that would change the stated linear scale. When tiny categories must remain visible beside values hundreds of orders larger, use a logarithmic or separately grouped chart instead.
The maker does not switch to logarithmic scaling, normalize values to percentages, or imply statistical significance. Axis labels may use up to six practical significant digits or scientific notation, so retain the source numbers whenever exact analysis is required.
Category slots remain separated, and the SVG is 520 pixels high while expanding horizontally as rows are added. A wide chart scrolls in the preview rather than squeezing all labels into a mobile-width image. Review rotated labels and tooltips as part of the final check.
Choose another workflow when the comma must remain
If the finished category name must contain a literal comma, use a chart application that explicitly supports quoted CSV fields or a separate label field. Check that tool’s documentation rather than assuming its input rules match those of the Bar Chart Maker.
The same recommendation applies when the project needs negative values, additional columns, multiple series, or a legend. This maker accepts one nonnegative value per category and does not create series, legends, formulas, or statistical interpretations.
For a single-series chart whose labels can be rewritten, the supported workflow is straightforward: prepare strict label/value rows, generate the preview, verify the linear scale and zero handling, and download the matching standalone SVG.