Update app.py
Browse files
app.py
CHANGED
@@ -27,12 +27,12 @@ def process_file(file, instructions, api_key):
|
|
27 |
|
28 |
Based on this, create 3 appropriate visualizations that provide meaningful insights. For each visualization:
|
29 |
1. Choose the most suitable plot type (bar, line, scatter, hist, pie, heatmap)
|
30 |
-
2. Determine appropriate data aggregation (e.g., top 5 categories,
|
31 |
3. Select relevant columns for x-axis, y-axis, and any additional dimensions (color, size)
|
32 |
4. Provide a clear, concise title that explains the insight
|
33 |
|
34 |
Consider data density and choose visualizations that simplify and clarify the information.
|
35 |
-
Limit the number of data points displayed to ensure readability (e.g., top 5, top 10).
|
36 |
|
37 |
Return your response as a Python list of dictionaries:
|
38 |
[
|
|
|
27 |
|
28 |
Based on this, create 3 appropriate visualizations that provide meaningful insights. For each visualization:
|
29 |
1. Choose the most suitable plot type (bar, line, scatter, hist, pie, heatmap)
|
30 |
+
2. Determine appropriate data aggregation (e.g., top 5 categories, yearly averages)
|
31 |
3. Select relevant columns for x-axis, y-axis, and any additional dimensions (color, size)
|
32 |
4. Provide a clear, concise title that explains the insight
|
33 |
|
34 |
Consider data density and choose visualizations that simplify and clarify the information.
|
35 |
+
Limit the number of data points displayed to ensure readability (e.g., top 5, top 10, yearly).
|
36 |
|
37 |
Return your response as a Python list of dictionaries:
|
38 |
[
|