$devtoolkit.sh/examples/csv/sales-data

Format a CSV Sales Report

Sales data CSV files are exported from e-commerce platforms, ERPs, and reporting systems and often need review before analysis. This example shows a monthly sales report with transaction details. The CSV viewer displays it as a sortable table and the diff tool lets you compare two exports to spot changes. Use the CSV to JSON tool to prepare this data for a charting library.

Example
date,order_id,product,sku,quantity,unit_price,revenue,region
2024-01-05,ORD-001,Wireless Keyboard,KB-100,2,79.99,159.98,US-WEST
2024-01-07,ORD-002,USB-C Hub,HUB-200,1,49.99,49.99,US-EAST
2024-01-08,ORD-003,Monitor Stand,MS-300,3,34.99,104.97,EU
2024-01-10,ORD-004,Webcam 1080p,CAM-400,1,89.99,89.99,US-WEST
2024-01-12,ORD-005,Desk Lamp,LAMP-500,2,28.99,57.98,APAC
[ open in CSV File Viewer → ]

FAQ

How do I calculate totals from a CSV sales file?
Import the CSV into Excel or Google Sheets and use SUM with SUMIF for conditional totals. For code-based analysis, use pandas in Python or a SQL query after importing to a database.
What causes number formatting issues in CSV files?
Different locales use comma or period as the decimal separator, and thousand separators vary. Ensure your export uses consistent decimal notation, and avoid including currency symbols in numeric columns.
How do I filter CSV data without a spreadsheet?
Use the CSV file viewer which supports column sorting and search filtering. For programmatic filtering, tools like the CSV to SQL converter let you write SELECT queries against the data.

Related Examples

/examples/csv/sales-datav1.0.0