Analyzing the output

Tracker generates an SQLite database with entries for each detected component usage and, by default, writes it to usages.sqlite in the current directory.

The easiest way to visualize this data is to plug the database into the ObservableHQ report (opens in a new tab) to analyze the design system consumption:

  1. Fork the sample report (opens in a new tab)
  2. Replace the attached database with the Tracker output you generated

Alternative reporting tools

If you want to run an analysis not covered by the default Tracker report, you can connect the usages database to various data analysis tools.

Both Tableau and Power BI support SQLite as a data source using an SQLite ODBC Driver. Take a look at the documentation for Tableau (opens in a new tab) and for Power BI. (opens in a new tab)

Keep track of the schemaVersion (opens in a new tab) in the meta table — your reports might need to be updated if the schema changes between Tracker version upgrades.