recharts vs react-simple-maps vs victory vs react-vis
Choosing geographic maps and numerical charts in React
rechartsreact-simple-mapsvictoryreact-visSimilar Packages:

Choosing geographic maps and numerical charts in React

Start with the dataset and visual task: geographic features require a map/projection model, while numerical charts use chart scales, axes and series.

Npm Package Weekly Downloads Trend

3 Years

Github Stars Ranking

Stat Detail

Package
Downloads
Stars
Size
Issues
Publish
License
recharts70,620,21027,7228.89 MB4732 days agoMIT
react-simple-maps1,483,1483,395217 kB1702 months agoMIT
victory843,78311,25129.9 kB957 days agoMIT
react-vis112,4428,7842.18 MB3433 years agoMIT

Geographic features versus numerical series

react-simple-maps focuses on SVG geographic visualization. It supplies map components and geographic/projection integration with GeoJSON/TopoJSON-oriented data. A regional value map requires geographic features and a join between data and regions, not only x/y chart series.

Recharts composes numerical charts from React components such as chart containers, axes, series and tooltips. It fits common dashboard-style visualizations when its data and scale model cover the task. A responsive container still needs usable layout dimensions from its parent.

Victory provides chart primitives and compositions with interaction containers. Its web package declares React 18 or later; the native chart offering is a separate integration rather than an assumption that every web component runs in React Native.

react-vis supplies a chart component collection with its own plot/series composition. Its current React and React DOM peers remain in the React 16.8 range. An older working chart example does not establish compatibility with every newer host.

Choose from the visual question

Use geographic mapping when location and spatial features drive the visual explanation. Use a chart library for numerical relationships, time series and categorical comparisons. A dashboard can use a map alongside charts, but one is not automatically a drop-in renderer for the other.

Integration work

Check data shape, domains, empty results, tooltip content, interactions and labels in the intended layout. Match peers and output behavior to the application’s server/client rendering setup. Existing data and event handlers need translation during migration; no package is a universal performance or readability winner.

How to Choose: recharts vs react-simple-maps vs victory vs react-vis

  • recharts:

    Choose it for declarative React chart composition with series, axes and tooltips, aligning its React, React DOM and react-is peers.

  • react-simple-maps:

    Choose it for SVG geographic maps, projections, geographic features, markers and map interaction rather than a general Cartesian chart.

  • victory:

    Choose it for its chart components and interaction/container composition on a supported React host; the current publication declares React 18 or later.

  • react-vis:

    Consider it for a chart integration matching its component model and declared React/React DOM 16.8 peer range.

README for recharts

Recharts

storybook Build and test codecov Flakiness VR tests npm version npm downloads MIT License

Introduction

Recharts is a Redefined chart library built with React and D3.

The main purpose of this library is to help you to write charts in React applications without any pain. Main principles of Recharts are:

  1. Simply deploy with React components.
  2. Native SVG support, lightweight with minimal dependencies.
  3. Declarative components.

Documentation at recharts.github.io and our storybook

Also see the wiki.

All development is done on the main branch. The current latest release and storybook documentation reflects what is on the release branch.

Examples

<LineChart width={400} height={400} data={data}>
  <XAxis dataKey="name" />
  <Tooltip />
  <CartesianGrid stroke="#f5f5f5" />
  <Line type="monotone" dataKey="uv" stroke="#ff7300" />
  <Line type="monotone" dataKey="pv" stroke="#387908" />
</LineChart>

All the components of Recharts are clearly separated. The LineChart is composed of x axis, tooltip, grid, and line items, and each of them is an independent React Component. The clear separation and composition of components is one of the principle Recharts follows.

Installation

npm

NPM is the easiest and fastest way to get started using Recharts. It is also the recommended installation method when building single-page applications (SPAs). It pairs nicely with a CommonJS module bundler such as Webpack.

# latest stable
$ npm install recharts react-is

react-is needs to match the version of your installed react package.

Deno

Deno is a drop-in replacement for npm, so Recharts installs the same way:

$ deno add recharts react-is

umd

The UMD build is also available on unpkg.com:

<script src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/react-is@18/umd/react-is.production.min.js"></script>
<script src="https://unpkg.com/recharts/umd/Recharts.js"></script>

Then you can find the library on window.Recharts.

Contributing

Recharts is open source. If you want to contribute to the project, please read the CONTRIBUTING.md to understand how to contribute to the project and DEVELOPING.md to set up your development environment.

Thanks

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

JetBrains logo.

Thanks to JetBrains for providing OSS development license for their IDEs.

Browser testing via

TestMu AI

License

MIT

Copyright (c) 2015-2026 Recharts Group.