figviz
Create diagram
AI-Powered

Mapping Diagram Generator Mapping Diagrams

Describe a function or relation and get a clean mapping diagram in seconds, with two labeled oval sets, arrows connecting inputs to outputs, and the domain and range clearly shown. Great for math class, tutoring, and presentations.

Functions and relationsDomain and range labeledOne-to-one, many-to-one, and moreSlide and print readyLast updated: 2026-06-21

Mapping Diagram Examples

Browse mapping diagrams made with Figviz, or generate your own above

One-to-One Function Mapping

A one-to-one function with domain {1, 2, 3} mapping to range {2, 4, 6}, each input paired with exactly one unique output.

functionone-to-onedomain

Relation That Is Not a Function

A one-to-many relation where input 2 maps to both 5 and 7, showing why this relation fails the function test.

relationnot a functionone-to-many

Many-to-One Function Mapping

A many-to-one function with domain {1, 2, 3, 4} mapping to range {A, B}, valid as a function because each input still has exactly one output.

functionmany-to-onemath

Classic Two-Oval Mapping Diagram

The standard two-oval mapping diagram layout with five elements in each set and labeled arrows, as used in algebra textbooks.

oval setsarrowsalgebra

Input-Output Function Table Mapping

Input-output mapping for f(x) = x + 3, showing domain inputs {0, 1, 2, 3} mapped to range outputs {3, 4, 5, 6} with arrows.

input-outputlinear functionf(x)

Blank Mapping Diagram Template

A clean, empty mapping diagram template with two unlabeled ovals and dashed arrow guides, ready for students to fill in.

blanktemplateworksheet

Prompt templates you can copy

Start with one of these examples, then adapt the subject, labels, data, or layout for your own use.

One-to-One Function Mapping

A one-to-one function with domain {1, 2, 3} mapping to range {2, 4, 6}, each input paired with exactly one unique output.

Create a clear labeled mapping diagram of a one-to-one function with domain {1, 2, 3} and range {2, 4, 6}. Each element maps uniquely: 1->2, 2->4, 3->6. Two vertical ovals labeled Domain and Range, arrows connecting each pair. Classic textbook style. White background.

Relation That Is Not a Function

A one-to-many relation where input 2 maps to both 5 and 7, showing why this relation fails the function test.

Create a labeled mapping diagram of a relation that is NOT a function. Domain {1, 2, 3}, range {4, 5, 6, 7}. Element 2 maps to both 5 and 7 (one-to-many), making it not a function. Label this clearly. Two vertical ovals, arrows shown. Classic textbook style. White background.

Many-to-One Function Mapping

A many-to-one function with domain {1, 2, 3, 4} mapping to range {A, B}, valid as a function because each input still has exactly one output.

Create a labeled mapping diagram of a many-to-one function. Domain {1, 2, 3, 4}, range {A, B}. Mappings: 1->A, 2->A, 3->B, 4->B. Multiple inputs share outputs but it remains a function. Two vertical ovals labeled Domain and Range, arrows shown. Colorful style. White background.

Classic Two-Oval Mapping Diagram

The standard two-oval mapping diagram layout with five elements in each set and labeled arrows, as used in algebra textbooks.

Create a classic mapping diagram with two large vertical ovals side by side. Domain oval (left) contains {a, b, c, d, e} and range oval (right) contains {1, 2, 3, 4, 5}. Draw labeled arrows: a->1, b->3, c->2, d->5, e->4. Label the ovals Domain and Range. Clean textbook style. White background.

What is a mapping diagram generator?

A mapping diagram generator is a tool that draws a visual representation of how elements in one set (the domain) connect to elements in another set (the range). Instead of sketching two ovals and drawing arrows by hand, you describe the function or relation in plain text and the generator produces a clean, labeled diagram. Figviz uses AI to interpret your description, place the elements inside the correct oval, and draw arrows from each input to its output, whether you are showing a simple function, a many-to-one relation, or a relation that fails the function test.

How to make a mapping diagram

List the elements in the domain (input) set, for example {1, 2, 3, 4}.
List the elements in the range (output) set, for example {A, B, C}.
State how each domain element maps to a range element (e.g. 1->A, 2->A, 3->B, 4->C).
Choose a style (Classic, Colorful, or Minimal) and aspect ratio, then generate.
Review the diagram, check the arrows, and refine your prompt if any connection looks off.

Functions vs. relations on a mapping diagram

A mapping diagram makes it easy to see whether a relation qualifies as a function. If every element in the domain has exactly one arrow pointing to the range, the relation is a function. This includes many-to-one mappings (multiple inputs can share one output) but excludes one-to-many mappings (one input pointing to two or more outputs). A blank domain element (no arrow at all) also breaks the function rule. Mapping diagrams are the visual equivalent of the vertical-line test and help students see these rules at a glance rather than checking a table of values.

Tips for clear mapping diagrams

Keep the domain and range sets small (three to six elements) so the diagram stays readable. Name the oval sets explicitly ("Domain" / "Range" or "Input" / "Output") so viewers know which side is which. If you want to show a non-function, include a note in your prompt saying which element maps to two outputs. For classroom worksheets, generate a blank template and let students fill in the arrows. Export at 4K for printed handouts and at 16:9 for slide decks.

Frequently asked questions

A mapping diagram generator is a tool that builds a visual function or relation diagram for you. With Figviz you describe the domain set, range set, and arrows, and the AI draws the two labeled ovals and connects the elements in seconds, no manual sketching needed.

Make your own mapping diagram with Figviz

Create a free account and get starter credits to generate your own. No credit card required.

Sign up free →