Creating a CSV File

Creating a CSV File


There are a few technical steps to creating a CSV file, but it's really not that bad. First, open a spreadsheet app like Excel or Numbers and type in the data you want to graph. Each widget has its own data format, so be sure to follow that. Here's what data for the Custom Chart widget would look like:



Next, you want to save this data as CSV. Depending on what spreadsheet program you're using, this is usually as simple as either clicking "File > Save As..." or "File > Export...", and then selecting CSV.



That's it, you've created a CSV file with your data!

If you want, you can open your CSV file in a text editor to see what's inside. Notice the titles in the first row, and that there are commas separating the numbers (rather than semicolons).
Date,Chest,Belly Button,Narrowest waist point
1/3/12,45.5,40.5,38.6
1/10/12,45.5,39.7,38.1
1/17/12,45.5,39.5,38.0
1/24/12,45.2,39.5,38.0
2/28/12,44.5,39.0,37.5
3/6/12,44.5,38.4,37.2
3/13/12,44.5,38.4,36.9
3/20/12,44.5,37.8,36.5
3/27/12,45.0,37.8,36.5
4/3/12,45.0,37.8,36.3
4/10/12,45.0,38.0,36.4

The next step is to get this CSV data into Dash. We recommend that beginners fetch data from a URL, but pushing your data to us works great too.

Feedback and Knowledge Base