以下のような2つのファイル"foo.txt"および"bar.txt"からベン図を作成する。それぞれのファイルには","で区切られた英単語が数十個ずつ格納されている。 a, about, according, an, and, are, associated, because, but, by, certain, comprehensively, Diagrammatic, diagrams, different, earlier, easy, entitled, fact, first, formal, formalized, generalize, he, history, however, in, introduced, is, it, John, Journal, logic, Magazine, Mechanical, much, not, of, On, originated,