PAD Charts
All charts/Waffle, marimekko & more

Cats, dogs or both

venn: two circles whose overlap has the area of the homes with both.

1 The chart tag and its data parts/pets.pad pad
{chart 'venn', sets='pets', value='homes', title='Homes in a town with a cat, a dog or both', width=480, height=280}
  pets,homes
  Cat,4120
  Dog,3480
  Cat&Dog,960
{/chart}
2 The result inline SVG · no JavaScript
Homes in a town with a cat, a dog or both Cat: 4,120; Dog: 3,480; Cat & Dog: 960 Cat: 4,120 Dog: 3,480 Cat Dog 3,160 Cat only: 3,160 2,520 Dog only: 2,520 960 Cat & Dog: 960