Women surveyed over the last 20 years have consistently done more unpaid domestic and caring work than men.
import { Scrubber } from "@mbostock/scrubber"
// get the years possible for the Scrubber
allYears = Array.from(new Set(allData.map(d => d.year)))
viewof selectedYear = Scrubber(allYears, {
initial: allYears[0],
autoplay: true,
loop: true,
delay: 300,
loopDelay: 3000
})
allActivities = Array.from(new Set(allData.map(d => d.activity_long)))
allColors = d3.schemePaired.slice(0, allActivities.length)
allScale = allActivities.map((d, i) => ({
activity: d,
color: allColors[i]
}))
// turn categories on and off
viewof selectedActivities = Inputs.checkbox(allScale, {
value: allScale.filter(d => !d.activity.toLowerCase().includes("paid")),
format: x => html`<span style="display: inline-block; width: 0.8em; height: 0.8em; border-radius: 0.4em; background-color: ${x.color}; margin-inline-end: 0.3em;"></span><span>${x.activity}</span>`
})
filteredData = allData
.filter(
d =>
selectedActivities.map(d => d.activity).includes(d.activity_long) &&
d.year == selectedYear &&
d.units == "Combined")
.map(d => ({
...d,
age_new: d.age_group
.replace(",", "-")
.replace("(", "")
.replace("]", "")
.replace("-Inf", "+")
}))
Plot = import("https://esm.run/@observablehq/[email protected]")
Plot.plot({
marks: [
Plot.barY(filteredData, {
x: "age_new",
y: "Average",
fx: "sex",
fill: "activity_long",
ariaLabel: d =>
"Rectangle: " +
d.sex.toLowerCase() + " respondents aged " + d.age_new +
" on average reported " + d.Average.toFixed(1) + " hours per week doing " +
d.activity_long.toLowerCase() + ". There were " + d["Number of people"] + " " +
d.sex.toLowerCase() + " respondents in the survey age group."
}),
Plot.text([selectedYear.toString(), selectedYear.toString()], {
ariaHidden: true,
fx: ["Female", "Male"],
frameAnchor: "top-right"
}),
Plot.tip(filteredData, Plot.pointer(Plot.stackY({
ariaHidden: true,
x: "age_new",
y: "Average",
fx: "sex",
fill: "activity_long",
fillOpacity: 0.9,
strokeOpacity: 0,
channels: {
"fill": {
label: "",
value: "activity_long"
},
"Age": "age_new",
"value": {
label: "Avg. hours/week",
value: d => d.Average.toFixed(1)
},
"People in age group": "Number of people"
},
format: {
fx: false,
x: false,
y: false
},
lineHeight: 1.25
})))
],
x: {
label: null,
},
y: {
label: "↑ Average hours per week",
grid: true
},
fx: {
label: null
},
color: {
domain: allActivities,
range: allColors
},
style: {
fontSize: 16,
fontFamily: "Roboto Condensed"
},
marginTop: 50,
insetTop: 20,
width: 800,
ariaLabel: "Stacked bar chart",
ariaDescription: "Stacked bar chart showing the average number of hours Australian women and men spent doing various paid and unpaid forms of work each week in " + selectedYear + "."
})
micro = require("[email protected]")
micro.init({
awaitOpenAnimation: true,
awaitCloseAnimation: true
});
This chart, as well as the analysis that underpins it, is available under a Creative Commons Attribution 4.0 licence.
Please acknowledge 360info and our data sources when you use them.
Copy and paste the following code:
<div style="aspect-ratio: 20 / 19; width: 100%; min-height: 465px;">
<iframe
allow="fullscreen; clipboard-write self https://unpaidwork.360visuals.org"
allowfullscreen="true"
src="https://unpaidwork.360visuals.org/timeuse-hilda/"
title="Australian women working without pay"
style="width:100%; height:100%; position: relative; top: 0; left: 0; border:none; background-color: white;" scrolling="no"></iframe>
</div>
This content is subject to 360info’s Terms of Use.
Visit the GitHub repository to:
This visual is based on 360info analysis of the Household, Income and Labour Dynamics in Australia (HILDA) survey, which is produced annually by the University of Melbourne’s Melbourne Institute.
The survey asks Australians about many facets of their lives, but this visual focuses on questions concerning the time people spent in a given week on various paid and unpaid forms of work.
The visual shows the average (mean) time reported by respondents in each survey wave (it is run annually, with data being mostly being collected in the second half of the year), sex and age group.
The code analysing the survey results, as well as the data shown in this visual, are available on GitHub. The individual survey responses are not kept due to privacy restrictions. If you wish to reproduce the analysis, you must gain permission from the survey authors to download it – see the repository data page for directions.