Skip to content

[Repository Analytics] Refine the programming languages chart

Problem to solve

The first chart in Repository Analytics is: "Programming languages used in this repository". This is a relatively popular feature. However, it feels like it became less mature/sophisticated when it was converted to use UI components. For example, the 13.9 version feels less mature than the 12.7 version:

  • Chart type: The latest version is a column chart. Previously this was a pie chart, which seems like a more intuitive/traditional way to represent "parts of a whole".
  • Data visibility: The latest version requires interaction (hover) to see exact values, and it is not possible to show all values at once. Previously all values were displayed next to the chart.
  • Chart tooltips: The tooltips feel clunky/unusual. For example, they repeat the x-axis title of "Used programming language" unnecessarily, distracting from the value title. They also say "Percentage 72.44" instead of "72.44%".

Proposal

The Repository Analytics "Programming languages used" chart should display column values like "72.4%" without hover/tooltip.

Example

12.7 version 13.9 version
pie-chart-version Screen_Shot_2021-02-24_at_10.26.15_AM
Edited by Dan Jensen