# Analyse a spreadsheet and see the code behind the answer

Source: https://thinkbeside.com/workflows/analyse-a-spreadsheet

Attach a CSV or Excel file. Thinkbeside shows a profile before anything is sent, the model writes code that runs in your browser on every row, and the table and chart appear under the answer.

Source to open: [Contiguous U.S. average temperature, monthly, 1895-2025](https://www.ncei.noaa.gov/access/monitoring/climate-at-a-glance/), NOAA National Centers for Environmental Information. Credit: NOAA National Centers for Environmental Information. Public domain.

- [Download the CSV](https://thinkbeside.com/guides/noaa-us-average-temperature-1895-2025.csv)

## Attach the file

Choose the paperclip in a chat with one model and pick the CSV. The file is read in your browser.

## Check the profile

A profile of the columns shows before anything is sent. The file itself never leaves your browser.

## Ask, then read the result

Use the question below. Open the code to see what ran, and compare the table with the file.

## The question

Which decade had the highest average temperature? Show a table of the average for each decade and a chart of the yearly averages.

## Check the answer

- Does the table agree with the rows in the file?

- Does the code do what the answer says it did?

- Does the answer say which rows or columns it used?

This is a reproducible walkthrough, not a captured model response.

