Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
82

Creating dynamic bar charts with CSS grid

from Josh Collinsworth [alt+shift+b] in programming

How to use CSS grid to make a responsive, adaptable bar chart with no math or external library required!
24th Mar 2022

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from Josh Collinsworth

The story of Tupo, my new daily logic puzzle

Tupo is my first new game in four years. I'm excited to share it with the world, and to talk about the process behind it.

5th Oct 2026 • 1 votes
In defense of two-state theme toggles

There's a lively debate going on over whether theme toggles should have two options (light/dark) or three, with an added "system" option. I maintain two-state toggles are better in most cases (though not all), and that the case for a third option rests mainly on problems most users don't actually have.

21st Aug 2026 • 2 votes
LLMs and performative productivity

It's worth asking whether LLMs are actually making us more productive at all—and if so, what we might be sacrificing in return.

5th Jun 2026 • 1 votes
Man cereal

Yesterday, even though my son is barely seven years old, toxic masculinity permeated his life and, perhaps permanently and irreparably, stole a small piece of his joy.

3rd Mar 2026 • 1 votes
My review of the Nüborn Baby at 3 months

My Nüborn Baby arrived in October, and now that I've had a few months to get used to it, I thought I'd write up a review, in case you were thinking of getting one for yourself.

16th Jan 2026 • 1 votes

More in programming

Notes from CoRL 2026

(Tuesday)

an hour ago • 1 votes
The Codebase Rewrite is Back

The economics of software engineering have fundamentally changed.

4 hours ago • 1 votes
How OCaml effects simplified my JSON interpreter

How effect handlers removed control-flow plumbing from query-json

23 hours ago • 1 votes
Unattended reboots with encrypted disks

An introduction to ZKeys: a new service that stores encryption keys off-site and automatically locks access to them if the client machines go offline for a long period of time.

3 days ago • 1 votes
Education Shouldn't Be Held for Ransom

Google told K-12 schools they could turn off AI, but only if they gave up search too. That isn’t integration. It’s holding education for ransom.

6 days ago • 1 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in