-
Notifications
You must be signed in to change notification settings - Fork 122
Proyecto - Alicia Mira #135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for mucss-dataviz ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Enchufa2
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left several comments. There are files missing. Note that, after every change and recompilation, you need to select all the files under _projects.
Please ensure that you follow the project guidelines: https://csslab.uc3m.es/dataviz/tutorials/project/#project-guidelines. And let me know when you have 100% completion by marking the pull request as "ready for review" again.
| library(showtext) | ||
|
|
||
| # Font adding | ||
| font_add("Lexend", regular = "/Users/cguirao/Library/Fonts/LexendDeca-VariableFont_wght.ttf") # needed font for the graph |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not replicable. Please find a Google Font that is close to this and load it from there.
| showtext_auto() | ||
|
|
||
| # Data import | ||
| protests <- read_excel("~/Desktop/Data Visualization/datavizu/_projects/2025/100453622/ReplicationDataBase.xlsx", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the path. Just "ReplicationDataBase.xlsx". Same for the other one.
| final_map | ||
| ``` | ||
|
|
||
| ----------------------------------------------------------------------------------------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
| font_add("Gravitas", regular = "/Users/cguirao/Library/Fonts/GravitasOne-Regular.ttf") | ||
| font_add("Sans Code", regular = " /Users/cguirao/Library/Fonts/GoogleSansCode-Regular.ttf") | ||
| # bold = "/Users/cguirao/Library/Fonts/GoogleSansCode-ExtraBold.ttf") | ||
| font_add("Sans Code Extrabold", regular = "/Users/cguirao/Library/Fonts/GoogleSansCode-ExtraBold.ttf") | ||
| font_add("Mulish", regular = "/Users/cguirao/Library/Fonts/Mulish-VariableFont_wght.ttf") | ||
| font_add("Mulish Semibold", regular = "/Users/cguirao/Library/Fonts/Mulish-VariableFont_wght.ttf") | ||
| showtext_auto() | ||
|
|
||
| #DATA IMPORT | ||
| improvdata <- read_excel("~/Desktop/Data Visualization/datavizu/_projects/2025/100453622/ImprovementDataBase.xlsx", | ||
| sheet = "TABLA 1-3-7", | ||
| skip = 1) # skipping the title |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as before.
| # ggsave("mi_grafico.png", plot = final_map, width = 10, height = 8, dpi = 150) | ||
| # system("open mi_grafico.png") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
No description provided.