Progressive charts

Back in 2001 Tan­tek Çelik dreamt up a little poly­go­nal CSS hack, using the bevels of bor­ders to create angles in-​​browser. Even­tually, Lasse Reichs­tein Niel­sen made the tech­ni­que acces­si­ble. Back then, I was thin­king about CSS and wan­ted to try my hand at unob­tru­sive DHTML.

So I was ins­pi­red to imple­ment sim­ple ren­de­ring of HTML lists as area charts. Natu­rally, once it mostly wor­ked I lost inte­rest, and let it rest assu­ming someone would have the same idea and take it much farther.

But as far as I can call, no one has. Now Eric Meyer (who hel­ped popu­la­rize the slant tech­ni­que) brought it to mind again with his CSS bar charts (gran­ted, without resor­ting to scripting).

So after let­ting the code age for 6 years, it’s time to put it out there and hope it pro­vi­des ins­pi­ra­tion to others. An exam­ple and pro­ject are on GitHub, all are wel­come to join or fork. I’d love to see it exten­ded to handle tables, added to a library that turns unor­de­red lists into bar charts, or at least made acces­si­ble as a plug-​​in to jQuery or other popu­lar libraries.

  • Very cool, I love how clean it is.
blog comments powered by Disqus
Aether Child Theme by altamente decorativo & bendler.tv | built on Thematic Framework