Skip to content
A collection of composable React components for building interactive data visualizations
JavaScript HTML
Branch: master
Clone or download

Latest commit

Latest commit 389f5dc May 24, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.storybook new chromatic needs to run on node 10 and above May 23, 2020
config use mode instead Feb 4, 2020
demo Merge pull request #1576 from FormidableLabs/task/more-primitive-and-… May 22, 2020
packages v34.3.7 May 22, 2020
stories fix domain padding issue May 11, 2020
test Allow VictoryLabel id to be generated from a function. May 15, 2020
.babelrc upgrade to babel 7 Jul 15, 2018
.editorconfig Use Builder Nov 21, 2015
.eslintignore verbose linting May 23, 2020
.eslintrc.js Resolve tsx files Apr 14, 2020
.gitignore update chromatic May 23, 2020
.prettierignore update chromatic May 23, 2020
.prettierrc Run prettier on all files to kick us off Dec 21, 2018
.travis.yml limit chromatic builds May 23, 2020
CHANGELOG.md update changelog May 22, 2020
CONTRIBUTING.md Fix link to Lerna website. May 15, 2020
ISSUE_TEMPLATE.md Run prettier on all files to kick us off Dec 21, 2018
LICENSE.txt Remove scattered credits & centralize to the LICENSE (#1525) Apr 23, 2020
README.md update readme May 22, 2020
lerna.json v34.3.7 May 22, 2020
package-scripts.js remove debug flag May 23, 2020
package.json limit chromatic builds May 23, 2020
tsconfig.json Simplify changes by moving ts target back to ES5, use fromCharCode wi… Apr 14, 2020
yarn.lock limit chromatic builds May 23, 2020

README.md

victory

an ecosystem of composable React components for building interactive data visualizations.

weekly downloads current version build status Gzip size Maintenance Status

Victory

Contents

Getting started

  1. Add Victory to your project:
# npm
$ npm i --save victory
# or yarn
$ yarn add victory
  1. Add your first Victory component:
import React from "react";
import { render } from "react-dom";
import { VictoryPie } from "victory";

const PieChart = () => {
  return <VictoryPie />;
};

render(<PieChart />, document.getElementById("app"));
  1. VictoryPie component will be rendered, and you should see:

pie


Requirements

Projects using Victory should also depend on React. Victory works with React version 15 and above.

Victory Native

Want to use Victory with React Native? Check out victory-native; Victory Native shares most of its code with Victory, and has a nearly identical API!

Contributing

Maintenance Status

Active: Formidable is actively working on this project, and we expect to continue for work for the foreseeable future. Bug reports, feature requests and pull requests are welcome.

You can’t perform that action at this time.