Overview
Network Analysis processes Excel (.xlsx) files entirely in your browser using the SheetJS library. No data is sent to a server—all processing happens client-side.File Requirements
Your Excel file must have headers in the first row. Each subsequent row represents a relationship or transaction.
Required Columns
At minimum, your spreadsheet must contain:- Origin column — The source node (e.g., referrer, sender, origin location)
- Destination column — The target node (e.g., referred person, recipient, destination)
Optional Columns
Weight Column
Weight Column
If your data includes a numeric weight/value for each relationship:
- Select a Weight column from the dropdown
- Values will be summed when aggregating duplicate origin→destination pairs
- The app automatically counts the frequency of each origin→destination pair
- Each row contributes a weight of 1
Coordinate Columns (for Map Visualization)
Coordinate Columns (for Map Visualization)
To enable the Geographic Map visualization, provide latitude/longitude columns:Origin coordinates:
- Origin Lat (numeric latitude)
- Origin Lng (numeric longitude)
- Dest Lat (numeric latitude)
- Dest Lng (numeric longitude)
You can provide coordinates for origins only, destinations only, or both. The map will draw connections between nodes that have valid coordinates.
Data Structure Example
Here’s a simple example of a valid Excel structure:| Referrer | Customer | Sales | Referrer_Lat | Referrer_Lng | Customer_Lat | Customer_Lng |
|---|---|---|---|---|---|---|
| Alice | Bob | 150 | 40.7128 | -74.0060 | 34.0522 | -118.2437 |
| Alice | Carol | 200 | 40.7128 | -74.0060 | 41.8781 | -87.6298 |
| Bob | Dave | 100 | 34.0522 | -118.2437 | 29.7604 | -95.3698 |
| Carol | Eve | 300 | 41.8781 | -87.6298 | 37.7749 | -122.4194 |
Multi-Sheet Files
Handling Multiple Sheets
Handling Multiple Sheets
If your Excel file contains multiple sheets:
- After selecting the file, a prompt will appear
- Choose which sheet contains your network data
- Only one sheet can be processed at a time
Sheet selection happens via a browser prompt listing all available sheet names.
Data Processing
Edge Aggregation
The application automatically aggregates duplicate origin→destination pairs:Node Identification
- Nodes are identified by unique values in Origin and Destination columns
- Case-sensitive: “Alice” and “alice” are treated as different nodes
- Whitespace is trimmed: Leading/trailing spaces are removed
- Empty values are skipped: Rows with blank origin or destination are ignored
Best Practices
Data Quality Tips
- Consistent naming: Use the same spelling and capitalization for each node
- Clean data: Remove extra spaces, special characters that might cause confusion
- Numeric coordinates: Ensure lat/lng columns contain valid decimal numbers
- Latitude: -90 to 90
- Longitude: -180 to 180
- Reasonable file size: While the app runs in-browser, very large files (>10MB) may be slow
Column Naming Suggestions
Troubleshooting
File Won't Load
File Won't Load
- Ensure the file has a
.xlsxextension (not.xlsor.csv) - Check that the first row contains headers
- Verify the file isn’t corrupted
- Try serving the app over HTTP (not
file://) to avoid CORS issues with CDN libraries
No Data Appears After Column Selection
No Data Appears After Column Selection
- Verify Origin and Destination columns contain non-empty values
- Check browser console for errors (F12 → Console tab)
- Ensure columns are different (can’t use same column for Origin and Destination)
Map Doesn't Show
Map Doesn't Show
- Confirm you’ve selected latitude and longitude columns
- Verify coordinate columns contain numeric values (not text)
- Check that coordinates are in decimal degrees format
- Ensure at least some rows have valid coordinates for both origin and destination
Next Steps
Column Mapping
Learn how to map your columns to visualizations
Filtering Data
Discover how to filter and focus your visualizations