Search by

orchid / charts

tabuna

PHP-first server-side SVG charts for dashboards. Zero JavaScript runtime.

Package info

github.com/orchidsoftware/charts

Language:JavaScript

pkg:composer/orchid/charts

Fund package maintenance!

orchidsoftware

Open Collective

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

dev-php-legacy 2026-05-15 14:07 UTC

This package is auto-updated.

Last update: 2026-09-07 22:00:31 UTC


README

Charts that belong in your product.

Orchid Charts is a JavaScript library for dashboards, reports, activity calendars, and release plans. Turn your data into interactive SVG charts with a short, consistent API and ready-to-use axes, tooltips, and keyboard navigation.

Live demo ยท Documentation

Quick start

npm install @orchidsoftware/charts

Add a chart container:

<div id="revenue"></div>

Import the chart and its stylesheet, then render your data:

import { LineChart } from "@orchidsoftware/charts";
import "@orchidsoftware/charts/style.css";

const revenue = LineChart.make("#revenue")
  .labels(["Jan", "Feb", "Mar", "Apr", "May", "Jun"])
  .dataset("Revenue", [42, 48, 57, 63, 68, 76])
  .render();

The chart follows its container's width. Keep the returned instance to update its data with update(), download an SVG with download(), and release resources with destroy() when the view is removed.

Use it in your product

Twelve chart types share the same lifecycle, from line and bar charts to calendar heatmaps and timelines. The package includes TypeScript declarations, tree-shakeable ESM, and zero runtime dependencies.

License

MIT. Part of Orchid Software, maintained by @tabuna.