USGS Logo                                           DOT-FHWA Logo

NATIONAL HIGHWAY RUNOFF WATER-QUALITY DATA AND METHODOLOGY SYNTHESIS

VBVenn--A Visual Basic program for calculating and graphing two-circle Venn diagrams

table of Contents for the VBVenn Directory

      Goto the Main NDAMS Page                       Go to the NDAMS Product Page 


To use VBVenn2C:

Example VBVenn Open Screen Example VBVenn Data Screen Example VBVenn Results Screen

1. Open program                                  2. Enter data                                        3. Click the "Calculate Variables" bar

Abstract

VBVenn is a Visual Basic program that calculates the size and position of two circles to construct a quantitative Venn diagram. It is a simple one-form program with a fairly intuitive user interface. The program normalizes the size of two populations and their intersection, sizes a circle for each population, calculates the area of the intersection, solves for the relative position of the circles in the Venn diagram by iteration, produces a graphical rendition of the Venn diagram on the screen, and writes an output text file. This text file may be used with graphing software to create a publication-quality Venn diagram. This Report provides a guide for using VBVenn, describes the calculations used to create the diagram, and documents the Visual Basic code used to implement the iterative method.  VBVenn is in the public domain and may be utilized and distributed as freeware, as such the program has no expressed or implied warrantee.

Required Files:

VBVenn2C.exe -- The executable program file (30K) or the zipped version VBVenn2C.zip (7K)

VBVenn.pdf -- The VBVenn user's manual in Adobe Acrobat format(450K)

Other files:
VennOut.txt -- an example output file,
VBVenn00.jpg -- An image of the interface without data,
VBVenn01.jpg -- An image of the interface with input data, and
VBVenn.jpg -- An image of the interface with input and output data.

Programs -- Visual Basic Proprietary files (for programmers) in VBVenn.zip including:

To use these products, copy the appropriate executable version (and any other files that you wish to use) to your computer and execute the file using the standard method prescribed by your operating system.  More details are available in the printed report.


The use of trade or product names in this report is for identification purposes only and does not constitute endorsement by the U.S. Geological Survey or the Federal Highway Administration