DEV Community

Michael Hoffmann
Michael Hoffmann

Posted on

Rebuild GitHub traffic graph

I would like to rebuild a graph similar to the one shown for the GitHub traffic visitors:

Github Traffic Graph

What is the best way to do this? Using D3.js? Do you know any similar code examples?

Thanks for your help!

Top comments (2)

Collapse
 
ben profile image
Ben Halpern

Yeah, I'd probably reach for a tool like this myself. D3 is powerful but sort of overkill for a lot of things IMO. High learning curve, super abstract API.

That's always been my impression at least. I've consistently fallen off trying to make use of it.

Collapse
 
mokkapps profile image
Michael Hoffmann • Edited

Thanks, but I finally used chartkick.com/react

Result can be seen here: github-traffic-viewer.netlify.com/