Skip to content
orchidsoftwarePublic

About

Clear, responsive SVG charts for product interfaces with one small JavaScript API

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

0 watching

Forks

Latest commit

 

History

127 Commits

Folders and files

Repository files navigation

Orchid Charts

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.

About

Clear, responsive SVG charts for product interfaces with one small JavaScript API

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages