Guide
How to Compare and Plot Two Flat Files (CSV/Excel) Online
A common task in data analysis is comparing two different datasets side-by-side.
Maybe you want to compare this month's sales to last month's, or analyze sensor data from two different experiments.
Doing this in Excel can be a headache of copying, pasting, and manually aligning rows.
With DataPlotter, you can simply overlay data from different files in a few clicks.
Step 1: Upload Both Files
First, you need to get both datasets into the tool. You have two options:
- Individual Upload: Drag and drop your first CSV/Excel file, then do the same for the second one.
- Folder Upload: Put both files in a folder and use the Folder Icon
to upload the entire directory at once.
Step 2: Plot the First File
Once your files are uploaded:
- Go to the File Source dropdown menu.
- Select your first file (e.g.,
Sales_January.csv).
- Configure your X and Y axes as usual.
- Click the Plot button.
Now your first line or bar is visible on the chart.
Step 3: Add the Second File (The Comparison)
This is where the magic happens. To add the second file to the same chart:
- Go back to the File Source dropdown.
- Switch to your second file (e.g.,
Sales_February.csv).
- Select the columns you want to compare (e.g., the same "Revenue" column).
- CRITICAL: Do not click "Plot." Instead, click the Add to Plot button.
Tip: Clicking "Plot" resets the chart. Clicking "Add to Plot" overlays the new data on top of what's already there!
Step 4: Style Your Trace
To make the comparison clear, you'll want to distinguish the two files visually:
- Expand the Customization Panel.
- Look for the Trace Style section.
- Change the Name of each trace (e.g., "January" vs "February").
- Adjust the Color so they don't look the same.
Your chart now clearly compares two different files side-by-side!
Ready to compare your files?
No coding, no complex Excel work. Just pure visualization.
Compare Your Data Now