10 Awesome Pure CSS Graph and Chart Techniques

Lets be honest, CSS would typically not be the first technology you would go to for building a visually effective interactive graph or chart, certainly not without at least a touch of Javascript. There are quite a few technologies you would think, Flash comes to mind first, followed by Javascript (thousands of jQuery plugins), you may even go for an SVG chart, or you may even like to use a graphic editor with interactive capabilities like Fireworks or Photoshop.

Having said all that, creating a pure CSS chart that is both visually beautiful and highly interactive, especially with CSS3, is very much possible, as this round-up proves.

This is our weekly section were we highlight the Top 10 resources from any given field from within the design community. These mini-articles give us an opportunity to share some really useful resources which would be either-wise ignored and difficult to justify with a full blown article.

Wicked CSS3 3d Bar Chart

Astonishingly the only images that have been used in this amazing chart example, are the icons that illustrate the related products. Everything else you see in this demo, is created using pure CSS3. I’ll bet you are thinking how it has all been achieved? You can view the tutorial by clicking the links below.
Wicked CSS3 3d bar chart →
View the Demo →

CSS3 Charts

CSS3 Charts
This pure CSS3 interactive chart did very well in Smashing Magazines recent CSS3 design contest, it came, not surprisingly, first. No tutorial with this one, but you can download the source files, allowing you to reverse engineer the entire process.
CSS3 Charts →
View the Demo →

Flexible Bar Graphs using CSS

Flexible Bar Graphs using CSS
In this in-depth tutorial, you’ll be constructing a flexible bar graph using good old traditional CSS and HTML. The key concepts that will be covered are: the background property, absolute positioning, CSS selectors, first-child, CSS sprites, containing block, cascade, and styling of unordered lists.
Flexible Bar Graphs using CSS →

CSS Stacked Bar Graphs

CSS Stacked Bar Graphs
This tutorial offers a unique and creative variant on CSS Globes’ famous pure CSS data chart (you will find it below) by explaining how to create a chart with stacked columns.
CSS Stacked Bar Graphs →
View the Demo →

CSScharts

CSScharts
CSScharts →
View the Demo →

Pure Css Line Graph

Pure Css Line Graph
This chart tutorial tackles the not as generally used and very difficult to build line graph. Even if you are not a fan of line graphs and data visualization in general, you should still read this article and think of it as a CSS experiment and perhaps learn a thing or two about CSS sprites and positioning.
Pure Css Line Graph →
View the Demo →

Pure Css Data Chart

Pure Css Data Chart
This tutorial explains that a chart is a two dimensional object. Thus, the best structural and semantical choice is to use a definition list. Although the list is linear, you could interpret definition titles (dt elements) as items on x axis and definition descriptions (dd elements) as values on y axis.
Pure Css Data Chart →
View the Demo →

Pure CSS Horizontal Bar Graphs

Pure CSS Horizontal Bar Graphs
Pure CSS Horizontal Bar Graphs →

CSS Bar Charts – Styling Data with CSS3 and Progressive Enhancement

CSS Bar Charts - Styling Data with CSS3 and Progressive Enhancement
This article discusses and demonstrates that using some rich CSS3 and progressive enhancement, you can really start pushing the display and presentation of normally boring documents.
CSS Bar Charts – Styling Data with CSS3 and Progressive Enhancement →
View the Demo →

Creating Pie Charts with CSS3

Creating Pie Charts with CSS3
Creating Pie Charts with CSS3 →
View the Demo →

You might also like…

50 Refreshing CSS Tutorials, Techniques and Resources →
50 Awesome New jQuery Plugins →
40 High Quality CSS and XHTML Web Layout Templates →
40 Professional and Detailed Web Layout PSD Templates →
20 Free Web UI Element Kits and Stencils →
25 Completely Free Fonts Perfect for @fontface →
The Complete Web Design Style Series (700 Designs in 14 Categories) →
Liquid, Fluid and Elastic Layout Templates, Tools and Frameworks →
30 Pure CSS Alternatives to Javascript →

Author: (566 Posts)

Paul Andrew is the editor and founder of Speckyboy Design Magazine. You can follow Speckyboy on Twitter, on Facebook, on Digg or you can subscribe via RSS.

  • http://www.cssaddons.com Ahmet Küçükoğlu
  • http://www.ilovenewwork.it Leandro Puca

    Awesome, as always, thanks Speckyboy

  • http://www.colddesign.it Giacomo Colddesign

    Really great article.. thanks!!!!

  • http://www.smashingbuzz.com/ Smashing Buzz

    all are useful techniques. thanks

  • http://www.wolverinesocceracademy.com Ed

    Thanks for the nice guide with this post…like the CSS Bar Stack – Thanks again!

  • http://www.friendsofdesign.net Eva

    Great collection, Paul.
    Really like the Wicked CSS3 3d Bar Chart.

    Thanks for sharing!

    Eva
    @friendsofdesign

  • http://www.how-to-asp.net Ryan

    Very cool, thanks!

  • http://www.mexzhouse.com max

    awesome. css is the king now.

  • http://fujiinstaxminifilm.com/ Andy Eaton

    wow those look really great, I’m keen to learn css but finding it quite difficult, I keep reading and practicing what I read and learn so I will keep on trying to master it.

  • http://wpforministry.com Brandon Cox

    I pride myself on staying up on current methods, but now I feel rather far behind!

  • http://www.ratesman.funsite.cz Ratesman

    Awesome,

    Thanks for sharing!

  • http://www.smartcoderszone.com Technical Amit

    Excellent Collection of css graph and chart techniques….

    Great work.

  • http://www.brushlovers.com Walter Apai

    Excellent Article given by you, thanks a lot. Keep posting more.

  • http://www.RealtyExecutivesFL.com Orlando

    Great article. Your showcase here is inspiring. Now if only I could improve my CSS chops more… any suggestions on a good first read?

  • sergeylukin

    Great showcase!
    Check out my graph: 
    http://sergeylukin.com/css-3d-bar-graph/