DEV Community

Michael Hoffmann
Michael Hoffmann

Posted on

2 1

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/

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay