Pure Css Data Chart

0

Approach

In this example I am not using JavaScript or any backend application. All I rely on is well formed markup and css.So, the goal is to present data chart. We could say that a chart is a two dimensional object. So, the best structural and semantical choice is definition list. Why? Well, for starter, it is a list of items. Although the list is linear, we could interpret definition titles (dt elements) as items on x axis and definition descriptions (dd elements) as values on y axis.If that doesn’t make sense because of my poor explanation skills what I’ll do here is turn this:

into this

with css alone.

The markup

In my example I have used a period of last 12 days and presented my working energy level in percentages, 100% being the best I’ve felt about working ever. As you can see, on 6th More >

PF Tempesta Five Pack

0

Title : PF Tempesta Five PackFile : 8Font | 71 KBDownload : MediaFire

1000 PNG Pixel Icon

0

Title : 1000 PNG Pixel IconFile : 16×16 PNG | 842 KBDownload : MediaFire

Tuneup_Utilities_by_Marlone9

0

Title : Tuneup_Utilities_by_Marlone9Files : ICO | 3.53 MBDownload : MediaFire

Vector Horses

0

Tilte : Vector HorsesFiles : AI , EPS | 291 KBDownload : MediaFire

SS_Global_vector

0

Title : SS_Global_vectorFires : 13 EPS |8.4 MBDownload : MediaFire

Butterfly Wings in PSD

0

Tilte : Butterfly Wings in PSDFiles : PSD Files | 6.5 MBDownload : MediaFire

68 Photoshop Gradients

0

Title : 68 Photoshop GradientsFile : 1.47 MBDownload : Mediafire

Go to Top