No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Three set Venn diagram with scaled indicators for subsets


Very quick and rough SVG rendering of a Venn diagram with scaled (by area) representations of subsets as negative space in coloured set delineations. Adds text percentages of total. Uses HTML input form, calculates set intersections then renders using svg.js.


  1. Open venn.html in browser.
  2. Input set values.
  3. Click 'Draw diagram'.
  4. Use controls to scale.

To add

  • Set labels
  • Text percentages on/off
  • Text size/position
  • Set colour