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.
- Open venn.html in browser.
- Input set values.
- Click 'Draw diagram'.
- Use controls to scale.
- Set labels
- Text percentages on/off
- Text size/position
- Set colour