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.
Mapping Diagram Generator
Your mapping diagram will appear here
Describe your function or relation and click Generate
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.
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.
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.
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.
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.
Blank Mapping Diagram Template
A clean, empty mapping diagram template with two unlabeled ovals and dashed arrow guides, ready for students to fill in.
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
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
Related math tools
All tools →Make your own mapping diagram with Figviz
Create a free account and get starter credits to generate your own. No credit card required.