Simple, responsive, modern SVG Charts with zero dependencies
Simple, responsive, modern SVG Charts with zero dependencies
Frappe Charts is a simple charting library with a focus on a simple API. The design is inspired by various charts you see on GitHub.
ERPNext needed a simple sales history graph for its user company master to help users track sales. While using c3.js for reports, the library didn’t align well with our product’s classic design. Existing JS libraries were either too complex or rigid in their structure and behavior. To address this, I decided to create a library for translating value pairs into relative shapes or positions, focusing on simplicity.
npm install frappe-charts
Import in your project:
import { Chart } from 'frappe-charts'
// or esm import
import { Chart } from 'frappe-charts/dist/frappe-charts.esm.js'
// import css
import 'frappe-charts/dist/frappe-charts.min.css'
Or directly include script in your HTML
<script src="https://unpkg.com/[email protected]/dist/frappe-charts.min.umd.js"></script>
…
cd into project directorynpm installnpm i npm-run-all -D (optional --> might be required for some developers)npm run devNo open issues yet, or sync has not completed.