News:

Herr Otto Partz says you're all nothing but pipsqueaks!

Main Menu

Those tiny graphs...

Started by dreadnaut, September 12, 2018, 02:21:20 PM

Previous topic - Next topic

dreadnaut

This might not be very interesting, but it's quite satisfying if you are a data nerd.

You know those little bar charts at the top of the News Archive? The ones that show the number of posts per day — like the one in the attachment.

Well, these used to be little PNG images, created on the fly. But now they are little SVG images, created on the fly :D

They look exactly the same as before, but they are part of the page (no extra server request), they scale to any size without blurring, and... try to move the mouse over one of the columns!

Cas

Ah, that's really cool!  I had not given much attention to them before, but now I went right away to test them XD
Precisely, I was thinking that the next step in my learning PHP will be image synthesis. There are a number of things I'm not sure about. I'll be asking you tons of things, ha, ha.
Earth is my country. Science is my religion.

afullo

While vector is better than raster, but not Vector the troll appeared here in 2015...  :D