Charts and Spreadsheets
This workflow shows how to create charts (Pie Chart and Bar Chart) from spreadsheet data and how to export them for further analysis or reporting. It involves data cleaning and preparation, performs data aggregation, and lastly creates two charts and appends them to a new sheet in an Excel file.
In this example, we access two Excel files:
The athlete event results of the 1896-1912 Summer Olympic Games for Greece, Great Britain, and the USA; and
The country code dictionary of the NOCs.
We proceed to filter the data to include only specific columns ("edition", "country_noc", "sport", "athlete_id"), add the country names to the event results (via a VLOOKUP function), and remove duplicate entries. We then split the data based on "country" and process the two subsets differently:
In the top branch, we filter the data for Greece to the 1896 Olympic Games and calculate the number of athletes participated in each sport;
In the bottom branch, we aggregate the data for Great Britain and the USA to derive the total number of athletes for each country and Olympics edition.
Lastly, we visualize the data in a Pie Chart and Bar Chart respectively and write the visualizations to a new sheet in the existing Excel file.
For a detailed overview of each node in this workflow, refer to the workflow description in the Info panel.
💡 To view each node's configuration, select the node and see the configuration pane on the right side of the workflow editor.