Hacker News new | ask | show | jobs
by carlosvega 1476 days ago
I have a problem with the borders vs no borders example. After applying the borders, Edge looks like it has less visitors than Safari. This is because the border is white, as the background.
2 comments

I just checked again and you are right! I just assumed that the border was cutting into the blocks themselves but it seems like it's actually extra added space.

Borders did make the graph look better though. It would likely be better for situations where each bar has the same number of sections. Otherwise, making the white border overlap the graph itself (so it doesn't increase the size of the bars) could keep it from being misleading. Of course then small sections could get completely covered by the border...

It's worse than that even. The actual color blocks are the same size, the gap is added on, so Safari gets about an 8% "boost" just from having multiple chart elements