To use this tool, enter the sets that intersect on each line, separated by spaces. The diagram will not change until the "Redraw Diagram" button is pressed.

This is a diagram that shows the intersections of a number of sets. It can be used as an alternative to a Venn or Euler diagram. There is evidence that linear diagrams are more easily interpreted than the other kinds of diagram^{1,2}. Some help on how to interpret linear diagrams.

A paper detailing the process of designing this tool is given here:

Visualizing Sets with Linear Diagrams. Peter Rodgers, Gem Stapleton and Peter Chapman. ACM Transactions on Computer Human Interaction 22(6) pp. 27:1-27:39 September 2015. doi:10.1145/2810012. Online copy.

If you use the tool in your research, we encourage you to reference this publication.

Ways of accessing the results

You can screen shot the image, download svg, or embed live code in your web page.

Click on the button below to download the image as . This can be edited using an svg editor such as Inkscape. Inkscape will also allow the diagram to be saved as gif, png, eps and other formats. This download facility only works with modern browers. If it fails for you, try upgrading your browser.

To embed this diagram in your own web page, copy and paste the following code into your html:

Length Proportional Diagrams

It is possible to use this tool to generate length proportional diagrams, where the widths of the intersections are proportional to input values. To use this facility, add a space followed by the required value to every intersection. An example of a length proportional diagram.

The Linear Diagram Generator is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.