Event
@visx/event
visx event
Charts
visx
d3
react
visualizations
charts
@visx/event
javascript
npm
frontend
open source
Stars
602
Weekly
4.1M
Open issues
8
Bundle
~25 kB
Installation
npm install @visx/eventCode example
import { Event } from "@visx/event";
const data = [
{ name: "Jan", value: 12 },
{ name: "Feb", value: 18 },
];
export function Example() {
return (
<Event data={data} width={420} height={240}>
{/* series / axes from Event */}
</Event>
);
}Pros & cons
Pros
- Actively maintained by @hshoff
- 4.1M weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~25 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 8 open issues on GitHub