Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

How is the points donut created?

On each profile page there is a "points-donut" that shows you your total points and the percentage points of subjects that makes up the donut.

I guess I assumed that this was a server created graphic but when I inspect the element it's quite interesting.

Thanks, --StevenKW

3 Answers

Steven Walters To my knowledge, we use a library called Chart.js which builds those "points donuts" for us. Hope that helps!

Fellow Treehouse student Ethan Neff made a points donut and posted it in another thread just the other day.

You can check out his code here: http://codepen.io/ethanneff/pen/NPxzxZ

That is really impressive. Thanks for the link.

That's super cool. Well done Ethan Neff!

Thanks for the shoutout!