-
-
Notifications
You must be signed in to change notification settings - Fork 23.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pie chart style to language card #1650
Comments
We can probably explore that, the reason we choose our current design for the card is because we wanted to make it match the design of github's native language cards. |
@anuraghazra Makes sense. I opened this as a response to #945 (comment) when I was cleaning up the discussions page. Let's use this issue to check if there is enough support for this feature from the community. |
If you are able to create a pie chart card it will be great for GitHub organizations |
@sasankaweera123 I currently do not have the time to implement this myself. However, since it is one of the top requested features, feel free to create a pull request and I will look at it. |
If someone wants to tackle this, https://github.com/d3/d3-shape#pies is a good package that can be used for creating pie charts. An example can be found here. |
Hey, I would like to work on this, please assign it to me |
Great! I assigned you to the issue! 🚀 |
This Solution is great: Summary Cards |
@sasankaweera123 Good one! Summary Cards is a good code example of how this feature can be added to GRS. |
@rickstaa is the goal to have it appear exactly as the image in the issue description? |
@arndom O no, that was a simple example draft @HPaulson made in #945. I just copied it here to explain the idea. I think the pie chart should be an option on the current language card (i.e. I found https://www.chartjs.org/docs/latest/charts/doughnut.html, which can also be used to create pie charts if the method used in https://github.com/vn7n24fzkq/github-profile-summary-cards is not sufficient. |
Great. It could also be implemented like the [![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true)](https://github.com/anuraghazra/github-readme-stats) [![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&hide_rank=true)](https://github.com/anuraghazra/github-readme-stats) |
Is your feature request related to a problem? Please describe.
As discussed in #945 it would be nice to give users the ability to display their most used languages as a pie chart.
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: