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

@reactloom/charts

v1.3.0

Published

Accessible React charts for ReactLoom: line, area, bar, pie, scatter, heatmap, histogram, box plot, waterfall, funnel, gauge, radar, treemap, sankey, combo, candlestick and sparkline, with keyboard exploration and data tables.

Readme

@reactloom/charts

Accessible React charts for ReactLoom: LineChart, AreaChart, BarChart, PieChart and Sparkline, drawn with visx primitives (ADR-0010).

pnpm add @reactloom/charts @reactloom/ui @reactloom/theme
import '@reactloom/charts/styles.css';
import { LineChart } from '@reactloom/charts';

<LineChart
  title="Revenue and costs, 2026"
  data={monthly}
  x="month"
  series={[
    { key: 'revenue', label: 'Revenue' },
    { key: 'costs', label: 'Costs' },
  ]}
  valueFormat={{ style: 'currency', currency: 'USD' }}
/>;
  • A figure with words: named by title, described by your description or a summary generated from the data (range, extremes, change), plus a "Show data table" alternative.
  • Keyboard: one tab stop; arrow keys move between points with a tooltip and a polite live readout. Not role="application".
  • Theme colours: series use --pl-color-chart-1…6 from @reactloom/theme (3:1 against the background in every built-in theme); dash patterns in Windows high-contrast mode.
  • Locale and direction: numbers and dates use the active LocaleProvider locale; charts mirror in right-to-left layouts.
  • Size: about 21 kB brotli for a cartesian chart (visx/d3 included, shared between charts), 7 kB for PieChart, 1.5 kB for Sparkline.

Limits: SVG, so very dense series (tens of thousands of separate marks) get slow — line and area series stay one path. Charts read the layout direction when they mount.

Documentation and live examples: https://www.reactloom.dev/components/line-chart

MIT licensed.