Picking the right chart for a column of a CSV
Most questions about a table fit one of three charts. How much does each group have? That is a bar chart: one bar per region, product or customer, with its length showing a total. How does a value move from row to row? That is a line chart, usually with the rows in date order. Does one number go up when another does? That is a scatter chart, with one column across and the other up. This tool draws those three, from any CSV, TSV or Excel file, without a spreadsheet and without uploading the file.
A bar chart groups the rows by the category column and gives each group one bar. The bar can count the rows in the group, add up a number column, or average it. Bars are sorted with the largest at the top, because a ranked list is what a bar chart is best at. When there are more than 19 categories, the largest 19 get their own bar and the rest are combined into one bar called Other, with the number of categories it holds. For an average, the Other bar is the mean of all its rows, which is the correct figure, and not the mean of the other averages, which is not.
A line chart draws every row as one point, in the order of the file, and joins the points. The label column gives the labels along the bottom, such as a date for each row. The line does not sort the rows, so sort the file by date first if the export is not in order. A file with more than 1,000 rows is drawn from an even sample of 1,000 rows, because more points than the chart has pixels only blur the line. A scatter chart needs a number in both columns. Its horizontal axis spans the data, not zero, so a scatter of years is not squashed against one edge.
Rows whose value is not a number are left out of every chart, and the page says how many. A placeholder such as n/a or an empty cell cannot be drawn honestly, and drawing it as zero would invent a value. If the count is higher than you expect, the CSV Analyzer shows which values in the column are not numbers. Numbers with thousands separators, such as 1,250, are read correctly.
The chart uses the page's own colours and follows light and dark mode. Save it as a PNG, drawn at twice the screen size so it stays sharp in a slide, or as an SVG, which scales to any size and opens in a vector editor or a browser. Both files carry the chart title and the axis names taken from your column headers. The file is read in a background worker, files up to 200 MB are accepted, and nothing leaves your device.