Charts
The charts area shows how usage changes across your repos over time. It holds the running status of every migration and retirement, and the charts you save to compare libraries, packages or components across scans.
For example, with the tags acme-ui and acme-ui-legacy in place, one saved chart shows the new library's usage rising while the old one falls, scan by scan, across every repo.
Read the charts list
Select charts in the top navigation. The page has these parts:
- Migrations and retirements: a row for each package your migrations and retirements move away from, such as
@acme/ui-legacy, with its Uses left, the uses of its deprecated components still in the code. Select a package to list every migration and retirement in it. A migration, such asLegacyButtontoButton · @acme/ui, also reads how much is Migrated. Records that name the same replacement share one row, and a record that covers a whole package is that package's row. - Shared charts: one row per chart shared with everyone, with its name, chart type, scope and a small preview. A row marked Some components can't be found needs fixing.
- Private: your own charts that aren't shared.
- Other people's charts: for Admins only, everyone else's private charts and who created them.
Beside each row is the change in uses left over the last 30 days, such as 6 fewer in green or 2 more in red. A package's change includes migrations and retirements that finished in that time. How the change is counted explains what it compares. In progress and Complete switch between migrations and retirements with uses left and those with none. With more than 10, search above the list for a component or package.

Select a migration, retirement or chart to open it.
Chart types
| Chart type | What it shows |
|---|---|
| Trend | One line per series over time. |
| Bars | One bar per series, counted from each repo's latest scan. |
| Stacked | Each series' share of the chart, as one bar for the latest scans and as bands over time. |
| Table | One row per series, with its latest value, its change (how it's counted) and how many components it holds. |
A series is one line, bar or row on the chart. Over time, a chart gains a point for each new commit scanned in a repo in its scope.
Build a chart
To compare libraries you need a tag for each. Tags shows how to create acme-ui and acme-ui-legacy, the two used here. Package and component series need no tag.
- On the charts page, press New chart.
- Type a name into Name, for example
acme-ui vs acme-ui-legacy. You can also add a Description, which shows under the chart's name on its page. - Under Repos, keep All repos, or pick one repo such as
storefront. - Under Chart type, pick Trend.
- Under Metric, keep Uses to chart uses, or pick % of uses for each series' share of the chart's total. Stacked always shows share, so Metric stays on % of uses when you pick it.
- Under Visibility, keep Private so only you and Admins can open the chart, or pick Shared so everyone signed in can.
- In the Series column beside the preview, check
acme-uiandacme-ui-legacyunder Tags. - Press Save chart at the top of the page, or press Enter in Name. The chart opens on its own page and appears under Private or Shared charts on the charts page. If the chart has no name or no series yet, the builder says what's missing beside it instead.

If the preview reads Trends appear once these repos have been scanned more than once., the repos in scope have only been scanned once. Save the chart anyway: it fills in as new scans arrive.
Add other kinds of series
The Series column charts more than tags. With nothing typed, it lists your tags under Tags, Local components under Your code, and packages under Packages. Type in Add a series to search components too, including ones your repos no longer use.
- Local components counts every component defined in the repo rather than imported from a package.
- A package, such as
@acme/icons, adds the whole package as one series. To pick from its components instead, press its component count, such as 52 components: its five most used components open under it, and Show all 52 lists the rest. Press the count again to close the package. - A component adds just that component, such as
Buttonfrom@acme/ui. A component defined in your own code reads Local and its repo, such as Local · storefront, in place of a package. When two components in a package share a name, each shows the entry point or file that tells them apart, such asbutton.
While you type, each matching component shows under its package, whose count says how many of its components match, such as 4 of 126. A package whose name matches shows its five most used components instead, with Show all for the rest. A component with no package shows under No package.
To find a component in one package, type a word from the package's name, then the start of the component's, such as icons arrow for the arrow icons in @acme/icons. A search shows at most 50 components: keep typing to narrow it, or clear the search and open a package to see all of its components.
The series you've added are listed in a table under the preview, in the order you added them, with each one's latest uses or share. On a Table chart, that table is the preview. Past about ten series, the table scrolls. Press a column heading to sort it. To remove a series, uncheck it in the Series column, or press its × in the table.
With one repo picked under Repos, the list holds only what that repo uses or has used. A component series you added before picking the repo greys out in the table if that repo doesn't have the component, and reads, for example, Not in checkout: pick All repos or a repo that has it to chart it again.
Count only deprecated components
To see how much deprecated code a library still has, press ⋯ in a tag or package series' row of the table under the preview, and choose Only deprecated components. The series then counts only the components a lifecycle record marks as replaced or retired. If no record covers any of them, the series drops to zero.
A series has this option only when some, but not all, of its components are deprecated.
Share a chart
A private chart opens only for you and Admins. A shared one opens for anyone signed in to the dashboard. A new chart is private unless you pick Shared under Visibility in the chart builder. To share a saved chart, open it, press ⋯, then Share with everyone. It moves to Shared charts. Make private in the same menu takes it back. You can also press Edit, pick Private or Shared under Visibility, and save.
To send someone a chart, send them its page's address. Someone who can't open a private chart sees This chart is private. and who to ask instead.
Duplicate a chart
To start from a chart someone else made, open it, press ⋯, then Duplicate. The chart builder opens with the chart's series and settings, named Copy of and the chart's name. Change what you need and press Save chart to save it as a new chart of your own. A copy starts as Private, even when the original is shared.
Look at a shorter period or one line
On a Trend or Stacked chart whose scans span more than 3 months, pick 3 months, 6 months, 1 year or All above the chart. The period ends at the chart's latest scan. The link keeps your pick, so whoever you send it to sees the same period.
To see one line of a Trend chart on its own, press its name at the end of the line or under the chart. Press it again to see every line. On a saved chart's page, a chart with two or more lines lists them in a table under the chart, with each line's latest uses or share and how much it changed over the period you picked. Search above the table for a component or package name to find a line. While you search, the chart draws only the matching lines, and an export takes only those lines.
Export a chart
On a saved chart's page, press Export.
- Download PNG saves the chart as an image to put in a slide or a document. It shows the chart's name, the repos and period it covers, and the ten largest series with their latest values, or every bar of a Bars chart.
- Download CSV saves a file with one row per scanned commit and one column per series, giving each series' uses or share at that commit. A Bars chart gives one row per bar.
- Copy image copies the same image as Download PNG, ready to paste.
- Copy table copies the same table as Download CSV, ready to paste into a spreadsheet.
The export covers the period picked above the chart and the lines drawn. A Table chart offers only Download CSV and Copy table. So does a Trend or Stacked chart until its repos have been scanned more than once.
Change or delete a chart
On a chart's page, except for a Stacked chart, the Uses and % of uses toggle switches the view without changing the saved chart.
Only the person who created a chart, or an Admin, can change or delete it, so only they see Edit and Delete.
To change the chart itself, press Edit. The chart builder opens with the chart's name, repos, chart type, metric and series. Make your changes and press Save chart to update the same chart, or Cancel to leave without saving. The period picked above the preview when you save is the one the chart opens at.
To delete a chart, open it, press Delete, then Delete chart. Deleting can't be undone.
Fix a chart with missing components
A chart leaves off any series it has no data for, and its row on the charts list reads Some components can't be found. That happens when a tag has been deleted, when none of the chart's scans holds a component, or when the chart is set to one repo and that repo doesn't have the component.
- Open the chart. Above it, a notice such as 2 series are left out · not in checkout says how many and why. Open it to see which series.
- Press Edit. Only the chart's creator or an Admin can; anyone else, ask one of them.
- For a series that isn't in the chart's repo, pick All repos or a repo that has it under Repos, or remove the series.
- To remove a series, press its × in the table of series under the preview. It reads Unknown component, or Deleted tag for a tag, when the dashboard has no name left for it. To keep charting that component, add it again with Add a series. A chart needs at least one series before you can save it.
- Press Save chart.
Migration and retirement charts
You don't build these. Each comes from a lifecycle record on the governance page. A migration's chart shows uses over time of the deprecated side and its replacement, across the repos that have used the deprecated side. A retirement's chart shows the retired side alone, across every repo. A record only gets a row once a scan has used what it names.
These charts have no Edit or Delete, but you can export them. One goes away when its record is deleted. See Migrations and retirements.
Good to know
- With % of uses or Stacked, series can share components, for example a tag and a package under that tag, or Local components with a package. A component in two series counts in both. See Why shares can overlap.
- The Migrations and retirements rows and the saved-chart previews on the charts list catch up a moment after a scan is uploaded or a record, tag or chart is saved. A chart you've just saved shows a flat preview until then.
- A chart over time leaves out scans that aren't ready and lists them above the chart, for example 1 scan is left out. A chart of the latest scans uses each repo's newest ready scan and says which repos it shows at an older scan.
- If the new chart builder or a chart's page shows Preparing scan data instead of its content, the dashboard is still getting scan data ready, and the chart loads by itself when it's done. Scan data can't be read means the dashboard can't read a stored scan the chart needs. See When a page shows Preparing scan data.
Next step
Record a migration so its progress charts itself: see Migrations and retirements.