Loading...
Loading...
Create professional financial charts and visualizations using Python/Plotly. Use when building Sankey diagrams (income statement flows, revenue breakdowns), waterfall charts (profit walkdowns, revenue bridges), bar charts (margin comparisons, segment breakdowns), or line charts (trend analysis, multi-company comparisons). Triggers on chart creation requests, financial visualization needs, or data presentation tasks.
npx skill4agent add pedro-mello30/stock-analyst financial-charts| Need | Function | Script |
|---|---|---|
| Income statement flow | | |
| Profit walkdown | | |
| Revenue bridge | | |
| Margin comparison | | |
| Revenue segments | | |
| Trend analysis | | |
| Multi-line comparison | | |
assets/chart-example.pngfrom scripts.sankey_chart import create_income_statement_sankey
create_income_statement_sankey(
revenue_sources={
"iPhone": 205.5e9,
"Mac": 40.2e9,
"iPad": 29.3e9,
"Wearables": 41.2e9,
"Services": 78.1e9,
},
cost_of_revenue=223.6e9,
operating_expenses={"R&D": 26.2e9, "SG&A": 25.1e9},
other_expenses={"Tax": 19.3e9, "Other": 0.3e9},
company_name="Apple",
fiscal_period="FY22",
theme="apple",
output_path="apple_income_flow.png",
)from scripts.waterfall_chart import create_profit_walkdown
create_profit_walkdown(
revenue=100e6,
cost_of_goods_sold=60e6,
operating_expenses={"R&D": 10e6, "SG&A": 15e6},
other_items={"Tax": -3e6},
title="Q4 Profit Walkdown",
output_path="walkdown.png",
)themedefaultcorporatedarkappletechfinancialminimalpip install plotly kaleidoreferences/chart-guide.md