Write a Python plot for my data columns

Writes a short Python script that plots your described columns as one chart, with comments and no invented data.

Task: Write a short Python script that reads my file and draws one chart from the columns I describe. Context: My file is [file name and format, for example sales.csv] and it has the columns [column names with types]. I want a [chart type] with [column] on the x axis and [column] on the y axis, grouped by [column, or "no grouping"]. I use the plotting library [library name, or "you choose"] and I am [new or comfortable] with Python. Rules: - Keep the script under 40 lines with a comment above each step, and read the file path from one variable at the top. - Do not invent data. Read it from my file, and if you need a sample to show the structure, label it clearly as a sample. - Handle the likely problems I have in my data, such as missing values and dates stored as text, with a comment that says what the script does about them. - Add a title, axis labels with units and a saved image file, and tell me to check the function names against my installed library version. Result: The script in one code block, then three lines on how to run it and how to change the chart type.

Updated