
Security News
npm Tooling Bug Incorrectly Marks One-Character Packages as Security Holders
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.
@page-speed/venn-diagram
Advanced tools
Dynamic, data-driven Venn diagram component for React. Renders area-proportional Venn and Euler diagrams with interactive hover/click events.

Dynamic, data-driven Venn diagram component for React applications. Renders area-proportional Venn and Euler diagrams with interactive hover/click events, perfect for competitive analysis dashboards, keyword gap analysis, and data visualization applications.
npm install @page-speed/venn-diagram react react-dom
If you use pnpm:
pnpm add @page-speed/venn-diagram react react-dom
import { VennDiagram } from "@page-speed/venn-diagram";
const data = {
sets: [
{ name: "A", label: "Set A", size: 100 },
{ name: "B", label: "Set B", size: 80 },
],
intersections: [{ sets: ["A", "B"], size: 20 }],
};
export function MyDashboard() {
return (
<div style={{ width: 600, height: 400 }}>
<VennDiagram data={data} interactive showLegend />
</div>
);
}
This component uses Tailwind utility classes for its default styling. Make sure
your Tailwind content config includes this package so the classes are
generated (for example, ./node_modules/@page-speed/venn-diagram/dist/**/*.{js,ts,jsx,tsx}).
VennDiagram Props (high level)data: VennData - sets + intersectionswidth, height: base dimensions (ignored when responsive is true)renderer: "svg" | "canvas" (currently SVG is implemented)showLabels, showValues, showLegendcolorScheme: override default color paletteanimated, hoverOpacity, interactive, responsivepadding, textFill, strokeWidthformatValue, formatLabel for custom formattingonSetHover, onClick callbacksSee the TypeScript definitions in src/types/venn.types.ts for the full, strongly-typed API.
See the src/examples/ directory for real-world use cases including:
KeywordGapDashboard)Common scripts (see package.json for the complete list):
pnpm build # Build library with Rollup
pnpm test # Run Jest test suite
pnpm lint # Run ESLint on src
pnpm storybook # Run Storybook (if configured)
FAQs
Dynamic, data-driven Venn diagram component for React. Renders area-proportional Venn and Euler diagrams with interactive hover/click events.
We found that @page-speed/venn-diagram demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.