Need advice about which tool to choose?Ask the StackShare community!

Recharts

124
252
+ 1
35
Victory

32
84
+ 1
0
Add tool

Recharts vs Victory: What are the differences?

Introduction

The Key differences between Recharts and Victory are:

  1. Rendering Approach: Recharts is built on top of D3.js library and uses a SVG-based approach for rendering charts. On the other hand, Victory uses React components and renders charts using React's virtual DOM.

  2. API Design: Recharts has a simpler and more declarative API design compared to Victory. It provides a set of easy-to-use components that can be customized using props. Victory, on the other hand, focuses on a more flexible and extensible API, allowing users to have more control over chart appearance and behavior.

  3. Supported Chart Types: Recharts offers a wider range of out-of-the-box chart types such as bar, line, area, scatter, and more. Victory, while not as extensive as Recharts, provides a good variety of essential chart types like bar, line, scatter, and pie charts.

  4. Animation and Interaction: Recharts includes built-in animation and interaction capabilities, making it easier to create interactive and visually appealing charts. Victory also supports animations but provides more control and customization options for animations and interactions.

  5. Community and Documentation: Both Recharts and Victory have active communities and good documentation. However, Recharts has a larger user base and a more extensive documentation with plenty of examples, making it easier for beginners to get started.

  6. Dependencies: Recharts has a relatively lightweight dependency as it primarily relies on D3.js. Victory, on the other hand, has additional dependencies like Prop Types and Lodash, which may add a bit more overhead to a project's size.

In Summary, while both Recharts and Victory offer powerful charting capabilities, Recharts is an ideal choice for beginners or those who prefer a simpler API and built-in animation features. Victory, on the other hand, suits users who require more control over chart customization and behavior.

Advice on Recharts and Victory
Needs advice
on
HighchartsHighchartsChart.jsChart.js
and
RechartsRecharts

I have used highcharts and it is pretty awesome for my previous project. now as I am about to start my new project I want to use other charting libraries such as recharts, chart js, Nivo, d3 js.... my upcoming project might use react js as front end and laravel as a backend technology. the project would be of hotel management type. please suggest me the best charts to use

See more
Replies (1)
Darren Adams
Senior Developer at Burning Glass Technologies · | 2 upvotes · 140.7K views
Recommends
on
HighchartsHighcharts

I've used Highcharts with both Angular Js Reactive applications (render as ReactJs) and also a bit of D3. Personally I found Highcharts to be the easiest to use but, with still quite a good level of customisability if you need it. graphs and charts then give D3 a try.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Recharts
Pros of Victory
  • 10
    Very intuitive API
  • 8
    Built for React, from scratch
  • 7
    Responsive
  • 5
    Composable chart elements
  • 3
    Easy to use
  • 2
    MIT license
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of Recharts
    Cons of Victory
    • 2
      Not considered time series charts
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      What is Recharts?

      Quickly build your charts with decoupled, reusable React components. Built on top of SVG elements with a lightweight dependency on D3 submodules.

      What is Victory?

      A collection of composable React components for building interactive data visualizations.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Recharts?
      What companies use Victory?
      See which teams inside your own company are using Recharts or Victory.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Recharts?
      What tools integrate with Victory?
      What are some alternatives to Recharts and Victory?
      vx
      vx is collection of reusable low-level visualization components. vx combines the power of d3 to generate your visualization with the benefits of react for updating the DOM.
      D3.js
      It is a JavaScript library for manipulating documents based on data. Emphasises on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework.
      amCharts
      amCharts is an advanced charting library that will suit any data visualization need. Our charting solution include Column, Bar, Line, Area, Step, Step without risers, Smoothed line, Candlestick, OHLC, Pie/Donut, Radar/ Polar, XY/Scatter/Bubble, Bullet, Funnel/Pyramid charts as well as Gauges.
      Highcharts
      Highcharts currently supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types.
      Plotly.js
      It is a standalone Javascript data visualization library, and it also powers the Python and R modules named plotly in those respective ecosystems (referred to as Plotly.py and Plotly.R). It can be used to produce dozens of chart types and visualizations, including statistical charts, 3D graphs, scientific charts, SVG and tile maps, financial charts and more.
      See all alternatives