aboutcode-org / scancode-workbench

:bar_chart: ScanCode Workbench is a desktop app to review and conclude license and origin from code scans generated by ScanCode Toolkit.
https://github.com/nexB/scancode-workbench/releases/latest
Apache License 2.0
150 stars 69 forks source link

Better library for displaying charts #535

Open OmkarPh opened 2 years ago

OmkarPh commented 2 years ago

Try an alternative charts library that is both responsive and handles congested charts as well as large pie names

Current library - https://www.npmjs.com/package/c3 It hasn't been updated since 3 years, hence a better up-to-date library is required

OmkarPh commented 1 year ago

Update - Current c3 charts implementation is responsive

A library that handles congested charts better may be helpful though

OmkarPh commented 10 months ago

Suggested feature:

Clicking on a slice in a pie chart should navigate to the concerned view, Eg, Clicking on a slice of the License detections pie chart should take you to Licenses view with focus on that detection

KrishavRajSingh commented 10 months ago

I am thinking of using chart.js. What do you think?

OmkarPh commented 10 months ago

can you experiment and see if the features mentioned above are doable in chart js? See src/components/PieChart/PieChart.tsx