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

@nhic/currantui-charts

v1.2.2

Published

CurrantUI Charts — data visualization components for the National Health Intelligence Center (NHIC) design system, built on Apache ECharts.

Readme

@nhic/currantui-charts

Data visualization components for the National Health Intelligence Center (NHIC) design system, built on Apache ECharts and themed by CurrantUI tokens.

Every chart ships in a consistent card shell with a show-table toggle (accessible data table of the same data), fullscreen view, CSV/PNG/JPG export, an HTML legend, and a footer carrying the data source and attribution.

Installation

pnpm add @nhic/currantui-charts @nhic/currantui

CurrantUI's stylesheet provides the design tokens (including the dataviz palette), so consumers keep the single CSS import:

@import "@nhic/currantui/globals.css";

Usage

import { BarChart } from "@nhic/currantui-charts/components/bar-chart"

const data = [
  { group: "Dataset 1", key: "Qty", value: 65000 },
  { group: "Dataset 2", key: "Qty", value: 32000 },
]

<BarChart
  data={data}
  options={{
    title: "Pre-selected groups (grouped bar)",
    source: "HMIS 2026",
    mode: "grouped",
  }}
/>

Charts take tabular data rows (default shape { group, key, value }) plus a typed options object per chart. The table view and CSV export derive from the same rows.

Chart types

Bar (grouped/stacked × vertical/horizontal), Race bar (animated ranking over time with playback controls), Line, Area (+stacked), Combo (mixed bar/line, optional secondary axis), Pie, Donut (HTML center label), Gauge (status threshold zones), Meter (proportional bar), Scatter, Bubble (area-true size scale), Histogram (internal binning), Boxplot (computed quartiles and outliers), Heatmap (sequential ramp), and Treemap (drill-down hierarchy).

Import each from its own subpath, e.g. @nhic/currantui-charts/components/line-chart. Legends are HTML and clickable — hiding a series keeps its color bound to its group.

Accessibility

The chart canvas is exposed as a labelled image; the interactive, screen-reader-friendly surface is the HTML shell around it — labelled toolbar controls, a real list legend, and the built-in table view of the underlying data.

License

Apache-2.0