{"_id":"@alexgilleran/recharts","_rev":"3-624bb156b09764d424c0d615a44794f6","name":"@alexgilleran/recharts","description":"React charts","dist-tags":{"fixed-domains":"0.13.4","latest":"0.13.4"},"versions":{"0.13.4":{"name":"@alexgilleran/recharts","version":"0.13.4","description":"React charts","main":"lib/index","jsnext:main":"es6/index","files":["*.md","demo","es6","lib","umd","src"],"keywords":["react","reactjs","chart","react-component"],"scripts":{"build":"npm run build-cjs && npm run build-es6 && rimraf umd && npm run build-umd && npm run build-min","build-cjs":"rimraf lib && babel ./src -d lib","build-es6":"rimraf es6 && babel ./src -d es6 --blacklist=es6.modules","build-umd":"NODE_ENV=development webpack src/index.js umd/Recharts.js","build-min":"NODE_ENV=production webpack src/index.js umd/Recharts.min.js","demo":"webpack-dev-server  --progress --port 3000  --colors --content-base demo --hot --inline --config demo/webpack.config.js","test":"karma start test/karma.conf.js","lint":"eslint src","bundle-analyse":"NODE_ENV=production webpack src/index.js umd/Recharts.min.js --json | webpack-bundle-size-analyzer"},"pre-commit":["lint"],"repository":{"type":"git","url":"git+https://github.com/recharts/recharts.git"},"author":{"name":"recharts group"},"bugs":{"url":"https://github.com/recharts/recharts/issues"},"homepage":"https://github.com/recharts/recharts","peerDependencies":{"react":"^0.14.0 || ^15.0.0","react-dom":"^0.14.0 || ^15.0.0","react-addons-transition-group":"^0.14.0 || ^15.0.0"},"dependencies":{"classnames":"2.2.5","core-js":"2.4.0","d3-scale":"1.0.0","d3-shape":"1.0.0","lodash":"4.13.1","react-container-dimensions":"1.2.0","react-smooth":"0.1.11","recharts-scale":"0.2.1"},"devDependencies":{"babel-cli":"^6.10.0","babel-core":"^6.10.0","babel-eslint":"^6.1.0","babel-loader":"^6.2.4","babel-plugin-lodash":"^3.2.0","babel-plugin-transform-class-properties":"^6.10.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-export-extensions":"^6.8.0","babel-plugin-transform-function-bind":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.8.0","babel-polyfill":"^6.9.0","babel-preset-es2015":"^6.9.0","babel-preset-react":"^6.11.0","chai":"^3.5.0","chai-enzyme":"^0.5.1","enzyme":"^2.3.0","escope":"^3.6.0","eslint":"^3.0.0","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.10.0","eslint-plugin-jsx-a11y":"^1.5.0","eslint-plugin-react":"^5.2.0","estraverse-fb":"^1.3.1","isparta":"^4.0.0","istanbul-instrumenter-loader":"^0.2.0","json-loader":"^0.5.4","karma":"^1.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^1.0.1","karma-coverage":"^1.0.0","karma-coveralls":"^1.1.2","karma-firefox-launcher":"^1.0.0","karma-mocha":"^1.1.0","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^1.7.0","mocha":"^2.5.0","pre-commit":"^1.1.3","react":"^15.0.0","react-addons-test-utils":"^15.0.0","react-addons-transition-group":"^15.0.0","react-dom":"^15.0.0","react-hot-loader":"^1.3.0","react-router":"^2.5.0","rimraf":"^2.5.3","sinon":"^1.17.4","webpack":"^1.13.1","webpack-bundle-size-analyzer":"^2.0.2","webpack-dev-server":"^1.14.1"},"license":"MIT","gitHead":"951882d7e8e486da563efbf59c6c68970bacb216","_id":"@alexgilleran/recharts@0.13.4","_shasum":"2fc7d3040f689acbbf13f63b891e01c0beb85402","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"alexgilleran","email":"alex@alexgilleran.com"},"dist":{"shasum":"2fc7d3040f689acbbf13f63b891e01c0beb85402","tarball":"https://registry.npmjs.org/@alexgilleran/recharts/-/recharts-0.13.4.tgz","integrity":"sha512-E+aNBWH2iaQWgNN0+lS25AAccIPSk33BG4pMDJR2g0it+yKDfGgoPvuLgaWRHep0E+R4LH7ijJBD80JbSp/aGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFXWkpxDo40KeLg5ysMbP0qp4r/x4G0G4s0yHuSpwUHuAiBfgyXB0vVxu8AZv+3MCJlaa97Ste/mUjR0SnygXplaFA=="}]},"maintainers":[{"name":"alexgilleran","email":"alex@alexgilleran.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/recharts-0.13.4.tgz_1473143304828_0.3855706276372075"}}},"readme":"# Recharts\n\n[![Build Status](https://travis-ci.org/recharts/recharts.svg)](https://travis-ci.org/recharts/recharts)\n[![Coverage Status](https://coveralls.io/repos/recharts/recharts/badge.svg?branch=master&service=github)](https://coveralls.io/github/recharts/recharts?branch=master)\n[![npm version](https://badge.fury.io/js/recharts.svg)](http://badge.fury.io/js/recharts)\n[![npm downloads](https://img.shields.io/npm/dm/recharts.svg?style=flat-square)](https://www.npmjs.com/package/recharts)\n[![Gitter](https://badges.gitter.im/recharts/recharts.svg)](https://gitter.im/recharts/recharts?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)\n\n## Intro\n\nRecharts is a **Redefined** chart library built with [React](https://facebook.github.io/react/) and [D3](http://d3js.org).\n\nThe main purpose of this library is to help you to write charts in React applications without any pain. Main principles of Recharts are:\n\n1. **Simply** deploy with React components\n1. **Native** SVG support, lightweight depend on some D3 submodules\n1. **Declarative** components, components of chart are purely presentational\n\n## Examples\n\n```jsx\n<LineChart\n  width={400}\n  height={400}\n  data={data}\n  margin={{ top: 5, right: 20, left: 10, bottom: 5 }}\n>\n  <XAxis dataKey=\"name\" />\n  <Tooltip />\n  <CartesianGrid stroke=\"#f5f5f5\" />\n  <Line type=\"monotone\" dataKey=\"uv\" stroke=\"#ff7300\" yAxisId={0} />\n  <Line type=\"monotone\" dataKey=\"pv\" stroke=\"#387908\" yAxisId={1} />\n</LineChart>\n```\n\nAll the components of Recharts is clearly separated. The lineChart is composed by 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 follow.\n\n## Module Formats\n\n- [babel-plugin-recharts](https://github.com/recharts/babel-plugin-recharts) A simple transform to cherry-pick Recharts modules so you don’t have to.\n\n## Contribution\n\nWe'd love :heart: to hear what you think we should build. Please create a issue to write your usage or ideas.\n\nWe are looking for like-minded people who share the same idea about Recharts. The goal of this project is create a more flexible charting library for the  React community.\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2015-2016 Recharts Group\n","maintainers":[{"name":"alexgilleran","email":"alex@alexgilleran.com"}],"time":{"modified":"2022-06-12T14:28:34.201Z","created":"2016-09-06T06:28:25.079Z","0.13.4":"2016-09-06T06:28:25.079Z"},"homepage":"https://github.com/recharts/recharts","keywords":["react","reactjs","chart","react-component"],"repository":{"type":"git","url":"git+https://github.com/recharts/recharts.git"},"author":{"name":"recharts group"},"bugs":{"url":"https://github.com/recharts/recharts/issues"},"license":"MIT","readmeFilename":"README.md"}