@pi-lib/charts

0.12.3 • Public • Published

pi-charts

Tests License

A charting library for visualization of complex data, to be used in any JavaScript based project.

Overview

A simple API for the creation of SVG charts. Responsive in any device, providing additional detail via hover/touch tooltips.

Charts added so far

Bar Chart

<div class="container"></div>
<script>
  window.onload = function () {
    const chart = new Chart({ container: '.container', ...randomData() }).addDefaults()
  }
</script>

PNPM tasks

  • lint: Code formatting
  • test: Run unit tests
  • build: Build distributable
  • dev: Run development server

Readme

Keywords

Package Sidebar

Install

npm i @pi-lib/charts

Weekly Downloads

0

Version

0.12.3

License

MIT

Unpacked Size

158 kB

Total Files

64

Last publish

Collaborators

  • pi-lib