I have a number of items with different values. I'd like to represent each item as a square with its size corresponding to its value, where each square is a component of a larger square. All the squares of different sizes fit together to make a larger, perfect square.
Is it possible to do something like this with HTML/CSS? Does anyone know of any resources I that might get me started with the right techniques?
Or would this be better suited to JavaScript or something else?