Quantcast

20+ CSS Data Visualization Techniques

Thu, Jun 25, 2009

CSS, Design

In this article you will find more than 20 unique and worth knowing CSS Data Visualization Techniques. The techniques show in this article reallt takes CSS to a new level and even if you’re not going to visualize data you may get inspired from investigating them.

CSS Bar Graphs

Use CSS to show nice looking bar graphs based on just div and span tags

css Bar Graphs

Sparkline charts

Here are three techniques for incorporating data visualization into standards-based navigation patterns.

Sparkline charts

A More Accessible Map

Is there a way to display text-based data on a map, keeping it accessible, useful and visually attractive? Yes: using an accessible CSS-based map in which the underlying map data is separated from the visual layout.

A More Accessible Map

StyleMap: HTML Visual Sitemap Tool

StyleMap uses valid HTML, CSS and a touch of DOM scripting to produce a visual sitemap out of an embedded definition list. The result is a functional, scalable, and above-all rapid way to produce a tree-style map for the planning stages of your project.

StyleMap HTML Visual Sitemap Tool

Multi-Column Lists

How to produce a single, semantically logical ordered list that wraps into vertical columns.

Multi-Column Lists

Accessible Data Visualization with Web Standards

This simple technique just adds bars to a list of items behind the text (check out the finished example for an idea of what we’re shooting for). It works for lists of any length. Longer lists benefit from being sorted by count since the relative values of the bars are easier to read when they are sequential. In this example, we’re going to display the count for each item in the list, but you can leave that out if the value is less important on its own and you’re just showing the relative values for comparison.

Accessible Data Visualization with Web Standards

Vertical Bar Graphs using CSS and PHP

Using CSS and PHP you can create attractive bar graphs (yes, even the stacked kind) that are always up to date.

Vertical Bar Graphs with CSS and PHP

Accessible Bar Chart

  • Table headers are there but hidden using the aural text class discussed in a previous article. Sighted users have already received information on what the chart is about.
  • A bar is created using an image which is stretched to the appropriate size.
  • Bar widths are calculated relative to the largest value.
  • Value cells have a repeated background image which shows the vertical lines.
  • Browsing the chart without CSS or images will render an ordinary table.
  • Value labels can be hidden by using the aural text class.

Accessible Data Visualization with Web Standards

Creating a Graph Using Percentage Background Images

Here you use pre-made background images to shade in the appropriate data.

Accessible Data Visualization with Web Standards

Definition List Bar Chart

Here you find two examples of styling lists into horizontal bar charts. Each definition list item is assigned a class that adjusts its width using percentage units.

Accessible Data Visualization with Web Standards

PHP and CSS- A Simple Graph

Easy way to display a simple percentage graph using PHP to work out the percentages and do the maths and CSS to display the data on our page.

Accessible Data Visualization with Web Standards

Pure Css Data Chart

Data visualization is mostly achieved with flash applications or with help of some programming languages. Are those solutions the only way to present, let’s say simple data chart? How about giving it a try with nothing but good ol’ css?

Pure Css Data Chart

Pure CSS xhtml graph

This is simple bar-graph that shows data by month.

Pure Css Data Chart

CSS Vertical Bar Graphs

Here’s a fairly typical vertical bar graph showing a hypothetical set of quarterly data for, say, invoice and collection totals. The difference here is that the whole thing is a simple set of nested lists and CSS. Really.

charts-daten-semantik-css

Pure Css Data Chart

Pure Css Line Graph

This technique takes structured html, replace text with images and by using css sprites and absolute positioning it creates a simulation of a line graph.

Pure Css Data Chart

Line Graph

Pure Css Data Chart

CSS Scatter Plot

A scatter plot is a great way to graph two-dimensional data. Each data point is clickable in this solution.

Pure Css Data Chart

Graphs with CSS

Pure Css Data Chart

Pie Graph script

This is a purely DHTML/ CSS based Pie Graph script. It loads fast and blends in with the rest of the page. You can even use a transparent background for it!

piegraph

Dynamic Pie Chart with CSS

csspie

DHTML / CSS based bar graph

This vertical bar graph is done completely using DHTML and CSS! Unlike an applet based solution, this loads fast and blends in with the rest of the page. You can even use a transparent background for it!

graph

DHTML / CSS based line graph

This line graph is done completely using DHTML and CSS! Unlike an applet based solution, this loads fast and blends in with the rest of the page. You can even use a transparent background for it!

multigraph

CSS Stacked Bar Graphs

There are plenty of CSS bar graph interpretations, but none of them did stacked bar graphs. So I’ve done it here. Based off Alen Grakalic’s Pure CSS Data Chart.

css-stacked-bar-graphs

Advertisement

WP Zoom Yamidoo MagazineWooThemes - Finally a themes club that is here to stayWP REMIX 2.0WP Zoom Yamidoo Magazine

Related posts

  1. 50+ Essential Techniques and Tools for Visualizing your Data Charts and Graphs are ideal to visualize data in...
  2. 35+ very Useful And Powerful CSS techniques In this article tripwire magazine provides a list of very...
  3. 75+ Tools for Visualizing your Data, CSS, Flash, jQuery, PHP Most people would agree that the old adage “A...
  4. 30+ Essential Javascript Framework Supported Navigation Techniques Navigation is key to any web site or blog....
  5. 155+ Mega CSS Roundup of Tools, Tutorials, Cheat Sheets etc. In this article you will get access to one...

Please subscribe to tripwire magazines rss feed

Please remember to share this post!

4 Comments For This Post

  1. Dainis Graveris Says:

    This is what I call unique article, that stand out – very useful and new techniques!

  2. murrydan Says:

    Wow, thanks. I have been looking for a way to convey some of the confusing material we have for an alternative sweetener web site, and these will come in handy.

  3. Luis Ahmed Says:

    Agree with Dainis, this is the kind of article that we need to read frequently. Thanks for sharing

  4. Flex developer Says:

    Hmmm.. I think that it to be useful to me. Thanks

27 Trackbacks For This Post

  1. A1 Earning » 20+ CSS Data Visualization Techniques | tripwire magazine Says:

    [...] rest is here: 20+ CSS Data Visualization Techniques | tripwire magazine This entry is filed under Techniques. You can follow any responses to this entry through the [...]

  2. Tweets from purplehayz on 2009-06-26 « Aleph Naught & the Null Set Says:

    [...] 20+ CSS data visualization techniques http://is.gd/1f2Vbw.tripwiremagazine.com/design/css-techniques/20-css-data-visualization-techniques.html”>http://is.gd/1f2Vb# [...]

  3. CSS Brigit | 20+ CSS Data Visualization Techniques Says:

    20+ CSS Data Visualization Techniques…

    In this article you will find more than 20 unique and worth knowing CSS Data Visualization Techniques.

  4. 20+ CSS Data Visualization Techniques Says:

    [...] DIRECT LINK » [...]

  5. 20+ CSS Data Visualization Techniques | VizWorld.com Says:

    [...] 20+ CSS Data Visualization Techniques | tripwire magazine. Share this [...]

  6. Inspirations - 36 Excellent Resources, Examples, Tutorials and More In July » De Web Times - Sharing Useful Resources. Says:

    [...] 20+ CSS Data Visualization Techniques In this article you will find more than 20 unique and worth knowing CSS Data Visualization Techniques. The techniques show in this article reallt takes CSS to a new level and even if you’re not going to visualize data you may get inspired from investigating them. [...]

  7. 20+ CSS Data Visualization Techniques | tripwire magazine « Netcrema - creme de la social news via digg + delicious + stumpleupon + reddit Says:

    [...] 20+ CSS Data Visualization Techniques | tripwire magazinetripwiremagazine.com [...]

  8. And again: 30 fresh links for my tweeps to retweet « Adrian Zyzik’s Weblog Says:

    [...] RT Lifehacker – How to Crack a Wi-Fi Network’s WEP Password with Modernizr 20+ CSS Data Visualization Techniquestripwire magazine Clever JPEG Optimization Techniques How-To Smashing Magazine 7 MooTools Plugins You Should Use on [...]

  9. LISTDUB» 20+ CSS Data Visualization Techniques | tripwire magazine Says:

    [...] 20+ CSS Data Visualization Techniques | tripwire magazine. [...]

  10. links for 2009-07-02 « Giri’s Blogmarks Says:

    [...] 20+ CSS Data Visualization Techniques | tripwire magazine (tags: css visualization graphs charts) [...]

  11. Técnicas visuales con datos y CSS | pindi Says:

    [...] http://www.tripwiremagazine.com/design/css-techniques/20-css-data-visualization-techniques.html Etiquetas de Technorati: css,diseño [...]

  12. Enlaces semanales que no he publicado (25) Says:

    [...] 20+ CSS Data Visualization Techniques (tripwiremagazine). En el artículo encontraremos más de 20 técnicas en CSS que vale la pena saber para visualizar datos. Eso eleva el CSS a un nuevo nivel, e incluso si no va a visualizar los datos, puede ser de inspiración algunas de esas técnicas. [...]

  13. Cool articles – SEO, blogging, internet marketing(june24-july05) « Stefanm, my link collection Says:

    [...] 20+ CSS Data Visualization Techniques; [...]

  14. Unique CSS Tips and Techniques « Goodtravel Design’s Blog Says:

    [...] 20 CSS Short Hands You’ll Love 20+ Resources and Tutorials for Creative Forms using CSS 20+ CSS Data Visualization Techniques Ten CSS tricks you may not [...]

  15. Mastering CSS, Part 2: Advanced Techniques and Tools | CSS | Smashing Magazine Says:

    [...] 20+ CSS Data Visualization TechniquesThis post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  16. Mastering CSS, Part 2: Advanced Techniques and Tools | YABIBO.COM - YOUR WEB WORLD Says:

    [...] 20+ CSS Data Visualization Techniques This post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  17. Mastering CSS, Part 2: Advanced Techniques and Tools « Tech7.Net Says:

    [...] 20+ CSS Data Visualization TechniquesThis post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  18. Mastering CSS, Part 2: Advanced Techniques and Tools « Sandeep's Blog Says:

    [...] 20+ CSS Data Visualization TechniquesThis post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  19. Wordpress Blog Services - Mastering CSS, Part 2: Advanced Techniques and Tools Says:

    [...] 20+ CSS Data Visualization TechniquesThis post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  20. Mastering CSS, Part 2: Advanced Techniques and Tools | Search Engine Optimisation Says:

    [...] 20+ CSS Data Visualization TechniquesThis post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  21. Shopping Mall » Mastering CSS, Part 2: Advanced Techniques and Tools Says:

    [...] 20+ CSS Data Visualization TechniquesThis post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  22. Mastering CSS, Part 2: Advanced Techniques and Tools - Programming Blog Says:

    [...] 20+ CSS Data Visualization TechniquesThis post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  23. Mastering CSS, Part 2: Advanced Techniques and Tools | WEBDESIGN FAN Says:

    [...] 20+ CSS Data Visualization TechniquesThis post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  24. Shopping Mall » Blog Archive » Mastering CSS, Part 2: Advanced Techniques and Tools Says:

    [...] 20+ CSS Data Visualization TechniquesThis post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  25. Advertisers Blog » Blog Archive » Mastering CSS, Part 2: Advanced Techniques and Tools Says:

    [...] 20+ CSS Data Visualization TechniquesThis post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  26. » Mastering CSS, Part 2: Advanced Techniques and Tools endo – luxury coding Says:

    [...] 20+ CSS Data Visualization Techniques This post gives an excellent rundown of more than twenty data visualization techniques using CSS. [...]

  27. uberVU - social comments Says:

    Social comments and analytics for this post…

    This post was mentioned on Twitter by sabinelenz: RT @mimojito: 20+ CSS Data Visualization Techniques http://bit.ly/bP6TTX...

Leave a Reply