Bar Chart Generator
Create bar charts from CSV, JSON, XML or Excel. Grouped or stacked, horizontal or vertical, export as SVG, PNG or JPEG.
Your inputs are processed in your browser and are not transmitted to our servers. Note: third-party resources (e.g. advertising and analytics from Google/Cloudflare) and an optional PayPal donation link may transfer data when loading or when clicked. Browser extensions or plugins may be able to read content that is visible in the input fields.
The result will appear here …
Bar Chart Generator
Which product category sells best? How do expenses differ between departments? The Bar Chart Generator compares numbers across categories. Paste a table or load a file from your device, then choose vertical columns or horizontal bars. Display multiple series side by side or stack them to show the parts of a total. Download the finished graphic for a report, worksheet or presentation. Your source data stays in your browser throughout the process.
How it works
Paste CSV, JSON or XML into the text field, or select a file. Automatic delimiter detection checks commas, semicolons and tabs. If the columns look wrong, choose the delimiter yourself. The header option tells the tool whether the first table row contains column names. After the first read, select the category column and tick the numeric columns you want to plot. Use the row range to narrow the selection without editing your source file.
Next, choose the orientation and select grouped or stacked series. Grouped bars make individual series easier to compare. Stacked bars show the components of a total, so use values with the same unit and avoid overlapping parts. Add a title and axis labels, including the unit where needed. Click “Create chart” to draw the preview. If you change a setting, click the button again to apply it before downloading your graphic.
What the tool can and cannot do
The generator supports up to eight data series, a legend, grid lines and optional value labels. Horizontal bars often give long category names more room. A linear scale suits ordinary quantity comparisons. A logarithmic scale helps show widely differing positive values, but it changes how readers interpret bar lengths. Zero and negative numbers do not fit a logarithmic scale. For a direct comparison of magnitudes, use a linear scale with a visible zero baseline.
The tool does not check whether your categories belong together or whether adding percentages makes sense. Prepare totals and groups in your table first. It does not replace a spreadsheet or perform statistical analysis. Before exporting, check the column selection and units. If the chart contains too many categories, try a smaller row range and fewer value labels. Large files may slow the browser down; the practical limit depends on your device and available memory.
Why local browser processing
Your browser reads the table and draws the chart on your device. The generator does not send entered values to a server. You need no account or cloud storage connection. Once the required resources have loaded, you can continue working offline. For Excel, the page loads its reading library only when you first select an XLSX file. Open an Excel file before disconnecting if you plan to use that format during an offline session.
Frequently asked questions
Are my data or files uploaded?
No, the generator processes your data locally in your browser. It does not upload pasted tables or selected files to a server. Chart creation also works offline once the required resources have loaded.
Which input formats does the tool support?
You can read CSV, TSV, JSON, XML and Excel XLSX files. You can also paste CSV, JSON and XML. For XLSX, the tool uses the first worksheet. Convert older XLS files to a supported format first.
Which output formats can I download?
Download SVG, PNG or JPEG, or copy the SVG code. PNG comes in standard and double resolution. SVG stays sharp when enlarged, while JPEG uses a white background.
When should I use stacked bars?
Use them for components of a common total. Grouped bars usually make it easier to compare the same individual series across categories. Stacking does not automatically convert your values into percentages.
Can I compare several numeric columns?
Yes. Tick the columns you want to include; each selection becomes a data series. Choose comparable units and keep only the series that help answer your question.
Why does the preview still show my previous chart?
The tool draws only when you click the button. After changing data, columns or display settings, click “Create chart” again. Then export the updated preview.