Please carefully read the statements below and check each box if you agree with the declaration. If you do not check all boxes, your assignment will not be marked. If you make a false declaration on any of these points, you may be investigated for academic misconduct. Students found to have breached academic integrity may receive official warnings and/or serious academic penalties. Please read more about academic integrity here. If you are unsure about any of these points or feel your assessment might breach academic integrity, please contact your course coordinator for support. It is important that you DO NOT submit any assessment until you can complete the declaration truthfully.
By checking the boxes below, I declare the following:
I have not impersonated, or allowed myself to be impersonated by, any person for the purposes of this assessment
This assessment is my original work and no part of it has been copied from any other source except where due acknowledgement is made. Due acknowledgement means the following:
No part of this assessment has been written for me by any other person except where such collaboration has been authorised by the lecturer/teacher concerned.
I have not used generative “AI” tools for the purposes of this assessment.
Where this work is being submitted for individual assessment, I declare that it is my original work and that no part has been contributed by, produced by or in conjunction with another student.
I give permission for my assessment response to be reproduced, communicated, compared and archived for the purposes of detecting plagiarism.
I give permission for a copy of my assessment to be retained by the university for review and comparison, including review by external examiners.
I understand that:
Plagiarism is the presentation of the work, idea or creation of another person or machine as though it is your own. It is a form of cheating and is a very serious academic offence that may lead to exclusion from the University. Plagiarised material can be drawn from, and presented in, written, graphic and visual form, including electronic data and oral presentations. Plagiarism occurs when the origin of the material used is not appropriately cited.
Plagiarism includes the act of assisting or allowing another person to plagiarise or to copy my work.
I agree and acknowledge that:
I have read and understood the Declaration and Statement of Authorship above.
If I do not agree to the Declaration and Statement of Authorship in this context and all boxes are not checked, the assessment outcome is not valid for assessment purposes and will not be included in my final result for this course.
The original data visualisation selected for the assignment was as follows:
The objective and audience of the original data visualisation chosen can be summarised as follows:
Objective To visually depict the percentage of people in different Australian cities that work locally, or in the same area as where they live. The disparity in local employment between metropolitan and regional locations is depicted in the chart, which can help guide conversations about urban planning, commute habits, and the need for better local job availability or transit infrastructure.
Audience The general public,urban commuters and city planners who are interested in issues related to urban growth and transportation efficiency, are the intended audience.
The original data visualisation chosen could be improved in the three following ways:
The following code was used to improve the original.
library(ggplot2)
library(dplyr)
library(scales)
df<-read.csv("data-uR24z.csv")
df$Percentage.of.people.working.locally<-round(
df$Percentage.of.people.working.locally,1)
capitalCities<-c('Sydney','Melbourne','Brisbane','Perth','Adelaide','Canberra')
df[,'City type'] <- df$City %in% capitalCities
df<-df[order(df$Percentage.of.people.working.locally),]
p1<-df%>%arrange(Percentage.of.people.working.locally) %>%
mutate(name=factor(City, levels=City)) %>%
ggplot(aes(Percentage.of.people.working.locally,name,fill = `City type`))+
geom_bar(stat ="identity")+
geom_text(aes(label = percent(df$Percentage.of.people.working.locally/100)),
hjust = 1.1)
p1<-p1+scale_fill_brewer(palette = "Set2", labels=c('Regional','Capital'))+
labs(title = 'Percentage of people who work locally in Australia',
x = 'Percentage of people working locally(%)',
y='Cities')+
scale_y_discrete(expand = expansion(mult = c(0, 0)))+
theme(axis.text.y = element_text(color = "black",size = 12,margin = margin(r=-10)),
axis.ticks = element_blank(),
title = element_text(size = 14),
panel.spacing.y = element_blank(),
panel.grid.major.x = element_line(color = 'grey50'),
panel.background = element_blank(),
aspect.ratio = 10/13)
The following plot improves the original data visualisation in the three ways previously explained.
The reference to the original data visualisation choose, the data source(s) used for the reconstruction and any other sources used for this assignment are as follows: