SarthakDotSpace/sales-analysis ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Streamlit dashboard for supermarket sales data from a CSV file.

I want it to load the sales file, clean up the columns and dates, then let me filter the data by branch, city, and product line from the sidebar. Show the main numbers at the top, like total revenue, number of transactions, average sale per transaction, and average customer rating. Then add a few clear charts and tables that help me understand what is selling best, like top product lines by revenue and other useful sales breakdowns over time or by location.

If no data matches the filters, show a friendly message instead of breaking. Make it look clean and easy to use, with a wide layout and good defaults. Keep everything in one app file if possible, and use the CSV in the repo. Look up current Streamlit docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab