Creating a responsive bar chart for my tags

Posted on Fri 21 July 2017 • Tagged with web, css, pelican, jinja • 5 min read

Today I decided that, since I’m a data kind of guy, I would like my tags page to show a bar chart of how many posts per tag I’ve made. The idea was to basically have a list of tags on the left, with a bar chart on the right showing how many articles are tagged with that tag, and the bars scaling to the window size. It turned out to be more complicated than I was expecting.