Back to skills
SKILL.md
1 Basic Application Structure
ASecuritySub-skill of dash: 1. Basic Application Structure.
- 17 stars
- 0 votes
- 0 copies
- 2 views
- Added September 9, 2026
Security analysis
100/100npx -y skills add vamseeachanta/workspace-hub --skill 1-basic-application-structure --agent claude-codeAre you the author of 1 Basic Application Structure?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-1-basic-application-structure)---
name: dash-1-basic-application-structure
description: 'Sub-skill of dash: 1. Basic Application Structure.'
version: 1.0.0
category: data-analysis
type: reference
scripts_exempt: true
---
# 1. Basic Application Structure
## 1. Basic Application Structure
**Minimal Dash App:**
```python
from dash import Dash, html, dcc
import plotly.express as px
import pandas as pd
# Initialize app
app = Dash(__name__)
# Sample data
df = pd.DataFrame({
"Fruit": ["Apples", "Oranges", "Bananas", "Apples", "Oranges", "Bananas"],
"Amount": [4, 1, 2, 2, 4, 5],
"City": ["SF", "SF", "SF", "NYC", "NYC", "NYC"]
})
# Create figure
fig = px.bar(df, x="Fruit", y="Amount", color="City", barmode="group")
# Layout
app.layout = html.Div([
html.H1("Hello Dash"),
html.P("This is a simple Dash application."),
dcc.Graph(id="example-graph", figure=fig)
])
# Run server
if __name__ == "__main__":
app.run(debug=True)
```
**Run the app:**
```bash
python app.py
# Visit http://127.0.0.1:8050/
```
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.