income-sankey

Company analysisMonitor

Generate interactive Sankey diagrams visualizing income statement flow from revenue to net income. TRIGGER when: Sankey diagram, income statement visualization, financial flow chart. DO NOT USE for: balance sheet, cash flow, or non-financial charts.

mingyang

VersionV3

Installs34Runs28

How it works

Income Statement Sankey Diagram

Generate a self-contained interactive HTML Sankey diagram visualizing a company's income statement — from revenue down to net income.

Step 1: Fetch Financial Data

Tools: bash (driven command)

  1. Fetch the income statement (default to most recent quarter if user doesn't specify):

    driven statements.income-statement symbol={TICKER} period=quarter limit=1

    For Y/Y comparison, also fetch prior year's same period:

    driven statements.income-statement symbol={TICKER} period=quarter limit=5

    Then pick the matching quarter from the previous year.

  2. Revenue segment breakdown (REQUIRED — exhaust all sources before falling back to single Total Revenue):

    Try these sources in order until segment data is obtained:

    Source A: driven product segmentation

    driven statements.revenue-product-segmentation symbol={TICKER}

    Source B: driven geographic segmentation (if product segments unavailable)

    driven statements.revenue-geographic-segmentation symbol={TICKER}

    Source C: Full filing or earnings release through Driven Use driven help to locate the current filing or company-announcement endpoint for the symbol's market, then retrieve the latest applicable 10-Q, 10-K, annual/interim report, or earnings release. Extract the revenue-by-segment table from the notes or MD&A. Keep all retrieval within Driven; do not call arbitrary websites or unrelated external domains.

    Source D: For HK-listed companies, try xq

    xq finance {TICKER} type=i

More from this creator

buffett-analysis

Company analysisValuation

Buffett-style deep business analysis: moat, management, financials, valuation with margin of safety. TRIGGER when: Buffett-style analysis, moat assessment, intrinsic value, owner earnings. DO NOT USE for: technical analysis, short-term trading, macro predictions.

mingyang

172

kol-tracker

Company analysisMonitor

Profile a Xueqiu KOL: collect original posts, track focused stocks & stance per period, trace style evolution, surface positive track records as HTML. TRIGGER when: analyze a Xueqiu KOL by URL/name. DO NOT USE when: single stock or ticker sentiment.

mingyang

92

ipo-analysis

Company analysisValuation

Deep IPO analysis from S-1/F-1 filings: company overview, financials, valuation, risks, sentiment, first-day price projection. TRIGGER when: user asks to analyze an upcoming IPO, evaluate an IPO filing, or assess if an IPO is worth subscribing. DO NOT USE when: analyzing already-public companies or post-IPO performance.

mingyang

7