npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@archon-research/charting

v0.10.0

Published

Token-aware charts for UIKit consumer applications, built as a thin layer over [visx](https://github.com/airbnb/visx). UIKit owns the visual language (design tokens); visx owns the rendering mechanics. See [DESIGN.md](./DESIGN.md) for the full contract.

Readme

@archon-research/charting

Token-aware charts for UIKit consumer applications, built as a thin layer over visx. UIKit owns the visual language (design tokens); visx owns the rendering mechanics. See DESIGN.md for the full contract.

Exports

  • chartTheme — a visx XYChartTheme (from buildChartTheme) wired to the design-system chart tokens. Pass it to <XYChart theme={chartTheme}>.
  • chartTokens — the underlying CSS-variable token strings (series palette, area, axis, grid, surface, label, plus breachFill/bandFill alpha tints for reference bands).
  • seriesColor — named series colors (primary, secondary, tertiary, positive, critical) for legends and custom marks.
  • A curated visx surface so consumers depend on this package, not @visx/* directly: XYChart, Axis, Grid, Tooltip, LineSeries, AreaSeries, BarSeries, BarGroup, BarStack, GlyphSeries, buildChartTheme, the Animated* series/axis/grid variants, DataContext (for custom marks), and EventEmitterProvider (for the cross-chart interaction layer below).
  • TimeRangeBrush — a mini area chart with a draggable selection (@visx/brush) reporting a selected domain window.
  • ZoomPanOverlay — a scroll-to-zoom / drag-to-pan overlay (@visx/zoom) that reports a new visible domain window.
  • ReferenceBand — one primitive, two configurations: mode="threshold" (dashed line + one-sided breach fill, e.g. a limit or target line) and mode="band" (shaded confidence band + optional center line, e.g. a confidence interval). Render as a child of <XYChart>.
  • CandlestickSeries — an OHLC mark (@visx/shape Bar + Line). Render as a child of <XYChart>.
  • ChartLegend — a provided, token-themed legend.
  • Cross-chart interaction layer (cross-filter + synced cursor across a stack of charts): SyncedChartGroup, useDashboardInteraction and its narrow selector hooks (useSelectedTimeRange, useHoveredTimestamp, useHighlightedKey, useDashboardFilter), useSyncedCursorHandlers, useTimeRangeBrushGesture, DragSelectionOverlay. See DESIGN.md.

See packages/uikit-preview/src/stories/organisms/charting-primitives.stories.tsx for a worked example combining the brush, zoom/pan, reference bands, a candlestick + volume pair, and a synced-cursor group.

Usage

import {
  XYChart,
  LineSeries,
  Axis,
  Grid,
  Tooltip,
  chartTheme,
} from '@archon-research/charting';

const data = [
  { label: 'Mon', value: 12 },
  { label: 'Tue', value: 18 },
  { label: 'Wed', value: 15 },
];

export function Example() {
  return (
    <XYChart
      theme={chartTheme}
      height={240}
      xScale={{ type: 'band' }}
      yScale={{ type: 'linear', nice: true }}
    >
      <Grid columns={false} />
      <Axis orientation="bottom" />
      <Axis orientation="left" />
      <LineSeries
        dataKey="value"
        data={data}
        xAccessor={(d) => d.label}
        yAccessor={(d) => d.value}
      />
      <Tooltip renderTooltip={/* token-styled */} />
    </XYChart>
  );
}

Notes

  • Colors are design-system CSS-variable tokens (for example --colors-chart-series-primary), so charts track the active light/dark theme with no runtime resolution.
  • Card chrome (titles, actions, footers) is not part of this package; compose it from the design-system panel and heading recipes.
  • For iconography elsewhere in the UI, use lucide-react.