gitmyhub

react-vis

JavaScript ★ 8.8k updated 1y ago

Data Visualization Components

react-vis is a deprecated (2020) JavaScript library from Uber for adding composable chart components, line, bar, scatter, heat map, pie, to React applications without deep visualization knowledge.

JavaScriptReactCSSnpmsetup: easycomplexity 2/5

Important context first: react-vis is deprecated and is no longer maintained. The repository badge says maintenance stopped in 2020, and anyone building a new project should look for an actively maintained alternative.

While it was active, react-vis was a JavaScript library built by Uber for creating data visualizations inside React applications. It provided ready-made chart components that could be dropped into a React page: line charts, bar charts, area charts, scatter plots, heat maps, pie and donut charts, radar charts, tree maps, and several others. The idea was that you could compose these components together in the same way you assemble any other React UI, without needing deep knowledge of lower-level visualization libraries.

The library was designed around flexibility. Chart axes, grid lines, legends, and series were separate components, so you could mix and match them rather than being locked into a fixed chart template. It also tried to provide sensible defaults so that a basic chart required very little configuration, while still allowing detailed customization when needed.

To use it, you install the package through npm and import whichever chart components you need. The library also shipped a compiled CSS file for styling. Code examples and a live demo site were available at the time of the project's active life, and there was documentation covering individual components and concepts like data scales and animations.

The project has since passed to new administrators, but given its deprecated status, it is best treated as a historical reference rather than a foundation for new work.

Where it fits