Listeners Area Chart Card

Area chart card for analytics dashboards: a two-series time series of daily listeners, desktop solid and mobile dashed, with a select for 90, 30 or 7 days and a legend that draws the dash.

Installation

npx shadcn@latest add @01orbital/range-area-chart

Make it yours

  • Its words are in COPY at the top of components/blocks/charts/range-area-chart/index.tsx: change them there, not in the markup.
  • RANGES, START, DAY, LISTENERS, CHART_CONFIG and DATE_FORMAT, also at the top of the file, hold its lists and settings.

Built from

npm: recharts@3.8.0. The CLI installs it for you.

Built from these parts. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

The shadcn parts here are their Base UI versions, and this piece uses Base UI's API. A Radix version you already have won't work with it.

Last updated on