Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. React
  3. visx

visx

MITTypeScriptv3.12.0

A collection of reusable low-level React visualization components that combine D3's power with React's declarative DOM updates.

Visit WebsiteGitHubGitHub
20.8k stars766 forks0 contributors

What is visx?

visx is a collection of reusable low-level visualization components for React that bridges D3's powerful data transformation capabilities with React's declarative UI model. It solves the problem of mixing D3's imperative DOM manipulation with React's component lifecycle by providing React components that encapsulate D3's calculations, allowing developers to build custom charts without dealing with D3's enter/exit/update patterns.

Target Audience

React developers who need to build custom data visualizations, chart libraries, or one-off charts while maintaining full control over their implementation and avoiding the complexity of raw D3.

Value Proposition

Developers choose visx because it provides the mathematical precision of D3 through clean React components, enabling them to build performant, customizable visualizations without learning D3's DOM manipulation patterns or sacrificing bundle size efficiency through its modular architecture.

Overview

🐯 visx | visualization components

Use Cases

Best For

  • Building custom chart libraries for internal team use
  • Creating one-off data visualizations with full design control
  • Integrating D3's calculations into React applications without direct DOM manipulation
  • Developing reusable visualization components for design systems
  • Projects requiring modular charting to minimize bundle sizes
  • Teams transitioning from D3 to React who want to maintain D3's mathematical capabilities

Not Ideal For

  • Teams needing pre-styled, production-ready charts out of the box
  • Projects requiring built-in animations without additional library integrations
  • Developers looking for a high-level API with minimal configuration for common chart types
  • Applications where rapid chart development with little custom code is essential

Pros & Cons

Pros

D3 Calculations with React Updates

Leverages D3 for precise data transformations and scales while using React for efficient, declarative DOM manipulation, avoiding the complexity of D3's enter/exit patterns as highlighted in the motivation.

Unopinionated and Composable

Provides low-level building blocks that allow full customization, enabling developers to create unique visualizations or reusable chart libraries without constraints, aligning with its philosophy of being a foundation to build upon.

Modular Package Design

Allows installation of only the necessary components, keeping bundle sizes small and efficient, as emphasized in the project's goal to reduce bloat.

Flexible Animation Support

Consciously omits built-in animations to avoid bloat, making it compatible with any React animation library like react-spring or react-move, as noted in the FAQ.

Cons

Missing Native Animation

Does not include animation capabilities out of the box, requiring developers to integrate and manage external libraries for dynamic effects, which the FAQ admits was a conscious but limiting choice.

Steeper Learning Curve

Requires understanding both D3 concepts (e.g., scales, domains) and React, making it less accessible for developers new to data visualization, as evidenced by the need to manually handle scales in the usage example.

Increased Development Time

Building charts from low-level components involves more boilerplate code and setup compared to high-level charting libraries, as shown in the lengthy bar graph example in the README.

Frequently Asked Questions

Quick Stats

Stars20,830
Forks766
Contributors0
Open Issues118
Last commit1 month ago
CreatedSince 2017

Tags

#chart#data-viz#visualization-library#svg#data-visualization#react#charts#d3#visualization#react-components#graphing

Built With

d
d3
R
React
L
Lerna

Links & Resources

Website

Included in

React72.7k
Auto-fetched 23 hours ago

Related Projects

xyflowxyflow

React Flow | Svelte Flow - Powerful open source libraries for building node-based UIs with React (https://reactflow.dev) or Svelte (https://svelteflow.dev). Ready out-of-the-box and infinitely customizable.

Stars36,965
Forks2,432
Last commit6 days ago
rechartsrecharts

Redefined chart library built with React and D3

Stars27,210
Forks1,931
Last commit1 day ago
nivonivo

nivo provides a rich set of dataviz components, built on top of the awesome d3 and React libraries

Stars14,038
Forks1,075
Last commit2 months ago
VictoryVictory

A collection of composable React components for building interactive data visualizations

Stars11,240
Forks534
Last commit5 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub