About this example
Madsen (1976) surveyed 1,681 tenants of Copenhagen housing estates about their satisfaction with their housing, recorded as Low, Medium or High. The counts are in R as MASS::housing; here they are summed over the perceived influence and contact variables to give one row per housing type.
Low satisfaction extends left of zero and High to the right, with the neutral Medium answer split equally across zero. Rows are ordered by the High share: half of tower-block tenants (50%) are highly satisfied, against a quarter of terraced-house tenants (25%), where Low is the most common answer (48%). The totals beside the bars give the Low and High shares without the neutral middle.
Three ordered levels are enough for the diverging layout, which works for any rating scale, not only agree–disagree items. No model or test is fitted; the downloadable R script recomputes the shares and segment edges with prop.table().
Sources: R MASS::housing — Madsen (1976)
The data
| Housing type | Low | Medium | High |
|---|---|---|---|
| Tower | 99 | 101 | 200 |
| Apartment | 271 | 192 | 302 |
| Atrium | 64 | 79 | 96 |
| Terrace | 133 | 74 | 70 |
Supplied counts per answer level. Each bar shows its row’s shares of 100%; no weighting or test. Open the example, replace the data with your own, and export the figure as SVG, PDF, PNG or TIFF.