Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,30 +8,20 @@ st.title('Sales Data Visualization App')
|
|
| 8 |
# Display Sample Data Format
|
| 9 |
st.subheader('Sample Data Format:')
|
| 10 |
st.write("""
|
| 11 |
-
The data should
|
| 12 |
-
|
| 13 |
-
| Customer Name | Date |
|
| 14 |
-
|
| 15 |
-
| John Doe | 2024-01-01 |
|
| 16 |
-
| Jane Smith | 2024-01-02 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
- **
|
| 23 |
-
- **
|
| 24 |
-
- **
|
| 25 |
-
- **Country**: The country where the sale took place (e.g., USA).
|
| 26 |
-
- **State**: The state where the sale took place (e.g., NY).
|
| 27 |
-
- **Product Name**: The name of the product (e.g., Product A).
|
| 28 |
-
- **Product Attribute 1**: Additional product attribute (e.g., Attribute 1A).
|
| 29 |
-
- **Product Attribute 2**: Additional product attribute (e.g., Attribute 2A).
|
| 30 |
-
- **Product Attribute 3**: Additional product attribute (e.g., Attribute 3A).
|
| 31 |
-
- **Product Attribute 4**: Additional product attribute (e.g., Attribute 4A).
|
| 32 |
-
- **Net Sales Value**: The net sales value for the transaction (e.g., `1000`).
|
| 33 |
-
- **Margin Amount**: The margin for the transaction (e.g., `300`).
|
| 34 |
-
- **Cost**: The cost of the product sold (e.g., `700`).
|
| 35 |
""")
|
| 36 |
|
| 37 |
# Upload File
|
|
|
|
| 8 |
# Display Sample Data Format
|
| 9 |
st.subheader('Sample Data Format:')
|
| 10 |
st.write("""
|
| 11 |
+
The data should contain the following columns:
|
| 12 |
+
|
| 13 |
+
| Customer Name | Date | Product Name | Net Sales Value | Margin Amount | Cost |
|
| 14 |
+
|----------------|------------|--------------|------------------|---------------|-------|
|
| 15 |
+
| John Doe | 2024-01-01 | Product A | 1000 | 300 | 700 |
|
| 16 |
+
| Jane Smith | 2024-01-02 | Product B | 1500 | 400 | 1100 |
|
| 17 |
+
|
| 18 |
+
### Key Columns:
|
| 19 |
+
- **Customer Name**: Name of the customer
|
| 20 |
+
- **Date**: Sale date (YYYY-MM-DD)
|
| 21 |
+
- **Product Name**: Product sold
|
| 22 |
+
- **Net Sales Value**: Sales value of the product
|
| 23 |
+
- **Margin Amount**: Profit margin on the sale
|
| 24 |
+
- **Cost**: Cost of the product sold
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
""")
|
| 26 |
|
| 27 |
# Upload File
|