Stacked bars

Here’s a graph I drew for the NPI site.

Again, it comes from Scott Murray’s book with a few tweaks. The original graph was upside down, so you need to adjust for that. Also I put a legend in, though it’s not linked like they sometimes are on data wrapper or whatever. There’s a real problem with how it adjusts to scales, too. If you move the top margin down the stacking seems to break. And, for reasons of maths, rather than coding, you can’t use negative numbers on it. Though you probably wouldn’t want to anyhow.

It was a lot of work to get quite a basic graph going. Colours are nice, though

Comments are closed.