Social survey

Diverging Likert chart: housing satisfaction by housing type

Diverging stacked bar chart of low, medium and high satisfaction among 1,681 Copenhagen tenants by housing type (R MASS::housing, Madsen 1976).

Open this example in the editorStart from scratch

LowMediumHigh75%50%25%0%25%50%75%25%25%50%27%33%40%35%25%39%48%27%25%n40023976527725%50%27%40%35%39%48%25%TowerAtriumApartmentTerraceSatisfaction (%)Housing type
Satisfaction of 1,681 tenants by housing type; Medium is split across zero, rows ordered by the share answering High.

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 typeLowMediumHigh
Tower99101200
Apartment271192302
Atrium647996
Terrace1337470

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.

More examples