# andreaferretti/paths-js

Generate SVG paths for geometric shapes :bar_chart:

Repository: https://github.com/andreaferretti/paths-js
Canonical: https://ross.abutalabs.com/products/paths-js
Homepage: http://andreaferretti.github.io/paths-js-react-demo/
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: svg-paths, javascript, geometric-shapes, svg, chart-library
Last push: 2020-07-20T09:09:34+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4656, "days_push": 2235, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1713, forks 85 (observed 2026-08-28T04:05:26.075437+00:00)

## What it is
Paths.js is a JavaScript library that generates SVG path strings for geometric shapes and simple charts (pie, line, radar) from raw data via a functional, chainable API. It only computes the geometry, leaving rendering to any framework, template engine, or even Canvas and server-side Node.

## Use cases
- generate svg paths for pie charts from data
- draw line charts with custom react components
- create radar charts in svg
- build custom chart library on top of svg geometry
- render charts server-side in node
- compute polygon and circle sector paths
- use chart geometry with canvas api

## When to choose
- you need full control over rendering, styling, and animation of charts
- you use React, Ractive, or another data-binding library and want chart primitives
- you need chart geometry server-side or with Canvas instead of DOM rendering

## When to avoid
- you want a batteries-included chart library with axes, tooltips, and legends out of the box
- you need canvas or webgl rendering handled for you
- you need actively maintained code with recent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: data-visualization, graphics
- domain: data-visualization, frontend, web-development
- platform: browser, cross-platform
- tags: svg-paths, charts, geometric-shapes, react-friendly, functional-api, nodejs

## Member repositories
- andreaferretti/paths-js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:26.075437+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:34:41.427897+00:00, confidence not recorded.
  - readme: https://github.com/andreaferretti/paths-js (fetched 2026-08-28T04:05:26.075437+00:00, sha b7e483f59685)
  - homepage: http://andreaferretti.github.io/paths-js-react-demo/ (fetched 2026-08-29T11:11:00.011698+00:00, sha 04a2a8bf29e5)
  - registry_npm: https://registry.npmjs.org/paths-js (fetched 2026-08-29T11:11:00.020966+00:00, sha 97f60466e8b4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
