An accessible bar chart

Below is an overview of banana imports for top importing countries. Source: Food and Agricultural Organization 1998.

Top banana importers 1998 (value of banana imports in millions of US dollars per million people)

Country Millions of US dollars per million people
Sweden 17.12
United Kingdom 8.88
Germany 8.36
Italy 5.96
United States 4.78
Canada 4.62
Japan 4.30
France 3.33
Russia 1.04

Main features

For this chart the following CSS was used:

td.value {
background-image: url(gridline58.gif);
background-repeat: repeat-x;
background-position: left top;
border-left: 1px solid #e5e5e5;
border-right: 1px solid #e5e5e5;
padding:0;
border-bottom: none;
background-color:transparent;
}
td {
padding: 4px 6px;
border-bottom:1px solid #e5e5e5;
border-left:1px solid #e5e5e5;
background-color:#fff;
}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 80%;
}
td.value img {
vertical-align: middle;
margin: 5px 5px 5px 0;
}
th {
text-align: left;
vertical-align:top;
}
td.last {
border-bottom:1px solid #e5e5e5;
}
td.first {
border-top:1px solid #e5e5e5;
}
.auraltext
{
position: absolute;
font-size: 0;
left: -1000px;
}
table {
background-image:url(bg_fade.png);
background-repeat:repeat-x;
background-position:left top;
width: 33em;
}
caption {
font-size:90%;
font-style:italic;
}


This page is part of the website standards-schmandards.com