Code Insights: Refactor creation UI lang stats preview
Created by: vovakulikov
Closes part of https://github.com/sourcegraph/sourcegraph/issues/32944
Background
In this PR we introduce new abstractions over code insights charts and cards and by this, it simplifies our live preview charts (in this PR we rework only lang stats insights in order to keep this PR as small as possible, other charts and live previews will be reworked later in further PRs).
Prior to this PR, we had the live preview component that we reused from the dashboard page and because of that, it was full of terrible/temporary solutions over chart and insight card layout components. This PR also uses a new pie chart from the chart packages that have a slightly better-refactored codebase and reworked API that should be simpler to extend and reuse.
Test plan
- Make sure that all live preview logic stays the same
- Make sure that the live preview layout has the same visual representation on desktop and mobile layout.