← All glossary terms
Glossary

ER diagram

GlossaryBy OpenCharts TeamPublished

An entity-relationship (ER) diagram is a data-modeling diagram that shows entities (database tables or objects), their attributes, and the relationships between them.

In depth

ER diagrams are the foundational tool for designing relational databases. Entities are usually rendered as rectangles containing attributes; relationships connect entities with cardinality markers (1:1, 1:N, N:M). The classic notation is Chen's; modern tools use crow's-foot notation almost universally.

Beyond databases, ER diagrams help document any domain model — a CRM's account/contact/opportunity hierarchy, an e-commerce catalog's product/variant/inventory model, or a content platform's post/author/comment graph.

OpenCharts supports ERD-style nodes with attached attribute tables and crow's-foot relationship markers. AI generation can produce a draft ERD from a description of the domain.

Examples

  • E-commerce product catalog
  • CRM data model
  • Booking system entities

Also known as

entity-relationship diagramERDdata model

Want to put this concept to work in OpenCharts?

Build an ER diagram

Related terms

Related use cases