Component guideEditable source

Release adoption

Install and update activity with count/share views and exact values.

On this page4 sectionsBack to top

Compare total activity with its composition. Count view adds installs and updates; share view normalizes each release to 100%. The summary uses the combined event totals, not an average of release percentages. All data is illustrative.

Live preview
Loading preview...

#Installation

Complete the base setup. The CLI installs this recipe with Chart and Card without replacing your theme.

npx shadcn@latest add https://neobrutal-ui.andongmin.com/r/chart-release-activity.json

#Usage

import ChartReleaseActivity from "@/components/ui/chart-release-activity";

export default function AdoptionReport() {
  return <ChartReleaseActivity />;
}

#API reference

This editable recipe has no required props. Change the constants in the installed source to connect application data.

Source / controlPurpose
releasesOrdered release labels with nonnegative install and update counts.
configSeries labels and shared-theme colors.
Activity measureCounts or shares, with matching vertical-axis units.
Release periodAll six releases or the latest three.
View activity dataExact counts and per-release update shares.

For dynamic data, handle an empty array or zero totals before calculating shares. Do not interpret repeat events as unique users. Normalized areas show composition, not absolute volume; tooltips retain the original event counts.

#Accessibility

Both controls have visible labels and native keyboard behavior. Solid and dashed boundaries distinguish the two series in addition to color. The text summary and table provide the values without requiring hover. The chart has a definite height, an accessible figure label, and no entrance animation.