# benfred/venn.js

Area proportional Venn and Euler diagrams in JavaScript

Repository: https://github.com/benfred/venn.js
Canonical: https://ross.abutalabs.com/products/vennjs
Language: JavaScript
License: MIT
License Family: permissive
Topics: venn-diagram, javascript, d3, euler-diagram
Last push: 2021-01-16T06:21:00+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4864, "days_push": 2055, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1091, forks 221 (observed 2026-08-28T04:03:33.131307+00:00)

## What it is
A JavaScript library for laying out area-proportional Venn and Euler diagrams, designed to work with D3.js for rendering. It computes layouts from set sizes and intersection sizes and supports styling, dynamic updates, and interactivity.

## Use cases
- draw area proportional venn diagrams in the browser
- visualize set intersections with euler diagrams
- render venn diagrams with d3
- create interactive venn diagrams with mouseover effects
- dynamically update venn diagram layout from changing data

## When to choose
- you need mathematically accurate area-proportional Venn or Euler diagrams
- you already use D3.js and want a diagram layout that integrates with it
- you need customizable, interactive set-relationship visualizations on the web

## When to avoid
- you need simple non-proportional Venn diagram illustrations where any drawing tool suffices
- you are not using D3.js and don't want the dependency
- you need a maintained library with recent updates and support

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, charts
- domain: data-visualization, web-development, frontend
- platform: browser
- tags: venn-diagram, euler-diagram, d3, set-visualization, nodejs, javascript

## Member repositories
- benfred/venn.js (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.131307+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:49:06.803800+00:00, confidence not recorded.
  - readme: https://github.com/benfred/venn.js (fetched 2026-08-28T04:03:33.131307+00:00, sha 58b4daa4deda)
  - registry_npm: https://registry.npmjs.org/venn.js (fetched 2026-08-29T12:51:11.507671+00:00, sha 6912c4b61634)
- Data as of 2026-08-30T08:39:29.467469+00:00.
