barnardos / design-system

The website and components of the Design System
https://design-system.barnardos.org.uk/
MIT License
29 stars 4 forks source link

Add how to provide tabular data #288

Open kelliedesigner opened 6 years ago

kelliedesigner commented 6 years ago

As a user of the Design System I want to know how to provide tabular data So that there's consistency across products

Links and resources

Acceptance Criteria

kelliedesigner commented 6 years ago

Example of in-progress Barnardo's product:

screen shot 2018-08-15 at 14 16 39
e-booker commented 6 years ago

The website & intranet teams identified the following needs:

Example from current CMS for transformation pages:

screen shot 2018-08-30 at 14 54 49
e-booker commented 6 years ago

Example from GOV.UK:

screen shot 2018-09-05 at 10 37 25
jeddy3 commented 6 years ago

Findings from WebAim:

Use Proportional Sizing, Rather than Absolute Sizing The rule that applies to layout tables also applies to data tables. Let the browser window determine the width of the table whenever possible, to reduce the horizontal scrolling required of those with low vision. If cell widths need to be defined, use relative values, such a percentages, rather than pixel values. Defined cell heights should generally be avoided so the cell can expand downward to accommodate its content - something especially useful for users with low vision that may enlarge text content.

jeddy3 commented 6 years ago

Findings from UX Design:

The row style helps users scan data. Reducing visual noise by removing row lines or zebra stripes works well for small datasets. Users may lose their place when parsing larger datasets. Line divisions help users keep their place. Alternating rows (aka zebra stripes) help users keep their place when scanning long horizontal datasets. Although they cause usability problems when there is a small number of rows because users may ascribe meaning to the highlighted rows.

jeddy3 commented 6 years ago

Findings from Dark horse as response to this research:

As with charts, rather than dressing up our data we should be stripping it down. For more information on table design

claire-littley commented 5 years ago

Table's v's 'Data Layout'

Here's an example of table I've just designed - (as we know tables are known to be not particularly useable on mobile as the nature of horizontal data is not visible on the screen so swiping left and right is needed)

image

And here's an example of a 'Data Layout' option - (Which is fully responsive as the figures stack - Useful for simple tables, but still not brilliant for complex data) I'll be showing how these look on desktop / larger screens next -

image

There are iterations of these designs, ie. no dark blue module header style, this background colour is needed in the context of the page as a whole, so soft grey bg col hdr style could be used.

Hope this is useful! :)

jeddy3 commented 5 years ago

From Smashing Magazine:

There is a myriad of table design patterns out there, and which approach you pick depends heavily on the type of data you have and the target audience for that data. At the end of the day, tables are a method for the organization and presentation of data. It is important to figure out which information matters most to your users and decide on an approach that best serves their needs.