GR

Group

@visx/group

visx group

Charts
visx
react
d3
visualizations
charts
svg
@visx/group
javascript
npm
frontend
Stars
634
Weekly
4.7M
Open issues
8
Bundle
~25 kB

Installation

npm install @visx/group

Code example

import { Group } from "@visx/group";

const data = [
  { name: "Jan", value: 12 },
  { name: "Feb", value: 18 },
];

export function Example() {
  return (
    <Group data={data} width={420} height={240}>
      {/* series / axes from Group */}
    </Group>
  );
}

Pros & cons

Pros

  • Actively maintained by @hshoff
  • 4.7M 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

FAQs

Alternatives & similar libraries