fork-explorer
fork-explorer copied to clipboard
% of blocks per pool & Signal as graphic
Would you welcome a PR with something which converts two columns on the Miners page "Signals" and "Blocks" to a single pie with the number of blocks for and against?
https://benpickles.github.io/peity/
If you're interested, I'll patch something up.
Hi @oliverkane!
Hmm that's an interesting idea. I'm not fond of importing jQuery as a dependency to the project, but perhaps there is some other lib or way to go about doing this, we could give it a try and see how it would look like.
Oh, yeah, that's just one I'm familiar with. There's a few other libs out there that do the same without the (rather old and bloated) jQuery. I'll give 'er a stab and put in a PR.
What about something like this for a library? No external deps, fits with the existing React choice, and clocks in at 2kb.
https://toomuchdesign.github.io/react-minimal-pie-chart/index.html?path=/story/pie-chart--custom-size
I suggest to not use pies. What I want is a stacked share chart showing all pools sorted by signalling, with additionally grand totals for the following categories, shown over all signalling periods:
- Pools that signal with all mined blocks :green_square:
- Pools that signal both :green_square: and :red_square:
- Pools that signal only :red_square:
I want to see if pools gain or lose miners depending on their stance towards speedy trial.