Chalkline / Guides / Data flow diagram examples

Data flow diagram examples and symbols

A data flow diagram (DFD) shows where information comes from, what happens to it and where it is stored. It is one of the first diagrams in many systems analysis courses and a quick way to explain any app. Here are the symbols, the levels and a worked example.

Updated 29 November 2026 · 3 minute read

What a data flow diagram is

A data flow diagram follows information, not people or steps. It shows who gives the system data, which processes change it, where it is kept and who receives the result. It does not show order, timing or decisions; that is the job of a flowchart.

The four DFD symbols

SymbolDrawn asMeansExample
External entityA rectangleA person or system outside yours that sends or receives dataCustomer, Bank
ProcessA circle or rounded boxSomething that changes dataTake order
Data storeA cylinder or open boxWhere data is keptOrders database
Data flowAn arrow with a labelData moving between the othersOrder details

Two simple rules catch most mistakes:

  • Every process needs data in and data out. A process with only inputs is a black hole; one with only outputs is a miracle.
  • Data cannot flow straight between two stores or two entities. It has to pass through a process.

Level 0: the context diagram

A context diagram shows the whole system as one process with the outside world around it. It answers "who does this system talk to, and what do they exchange?"

Context diagram for an online shopContext diagram for an online shopCustomerOnline shopBankWarehouseOrder detailsPayment requestPick list
Context diagram for an online shopOpen this example in Chalkline →

To keep the picture readable, this sketch shows only the flows into the shop's partners. The full context diagram also has the flows coming back: a receipt to the customer and a payment result from the bank.

Level 1: opening up the system

A level 1 diagram breaks the one process into its main processes and adds the data stores. The external entities and flows must match the context diagram, so the two levels never disagree.

Level 1 data flow diagram for the same shopLevel 1 data flow diagram for the same shopCustomer1 Take orderBank2 Confirm paymentOrders3 Prepare shipmentStockWarehouseOrder detailsPayment requestPayment resultPaid orderPaid ordersItem locationsPick list
Level 1 data flow diagram for the same shopOpen this example in Chalkline →

If a level 1 process is still complex, you can draw a level 2 diagram for it the same way.

How to draw a DFD in five steps

  1. Name the system and draw it as one process in the middle.
  2. Add the external entities around it: customers, staff, other systems.
  3. Draw the flows in and out and label each with the data, as a noun: "Order details", not "Send order".
  4. Open the process into level 1: three to seven processes, numbered, each with a verb name.
  5. Add the data stores and check the rules: every process has inputs and outputs, and nothing skips a process.

Drawing it from text

The diagrams above are flowcharts with three shapes: [Name] for entities, ((Name)) for processes and [(Name)] for stores. Write them in the flowchart text and the layout is done for you:

flowchart LR
  cust[Customer] -->|Order details| take((1 Take order))
  take -->|New order| orders[(Orders)]
Open the text editorType a DFD with the shapes above and press Apply
Open the example

A free tool for data flow diagrams

Chalkline draws data flow diagrams in a hand drawn style for early ideas or a clean style for reports, with one click to switch. Use Diagram as text to type the flows, or draw shapes by hand. It works offline, needs no account, and exports to PNG, SVG, vector PDF or editable PowerPoint. For the database behind the data stores, see ER diagram symbols.

Common questions

What is a DFD? DFD stands for data flow diagram: a picture of where information comes from, which processes change it, where it is stored and who receives it.

What are the four symbols of a data flow diagram? External entities (rectangles), processes (circles or rounded boxes), data stores (open boxes or cylinders) and data flows (labelled arrows).

What is the difference between a level 0 and a level 1 DFD? Level 0, the context diagram, shows the whole system as one process with the outside world around it. Level 1 opens that process into its main sub processes and adds the data stores.

What is the difference between a DFD and a flowchart? A flowchart shows the order of steps and decisions. A DFD shows how data moves, with no order, timing or decisions.