{"id":17855451,"url":"https://github.com/nrennie/2024-plotnine-contest","last_synced_at":"2025-07-01T01:35:56.695Z","repository":{"id":248017775,"uuid":"805295399","full_name":"nrennie/2024-plotnine-contest","owner":"nrennie","description":"Code for the 2024 plotnine contest.","archived":false,"fork":false,"pushed_at":"2024-09-15T13:54:44.000Z","size":3978,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T00:05:02.801Z","etag":null,"topics":["data-visualisation","plotnine","python"],"latest_commit_sha":null,"homepage":"https://nrennie.github.io/2024-plotnine-contest","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nrennie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-24T09:25:07.000Z","updated_at":"2025-04-11T12:10:04.000Z","dependencies_parsed_at":"2024-09-15T15:05:52.673Z","dependency_job_id":null,"html_url":"https://github.com/nrennie/2024-plotnine-contest","commit_stats":null,"previous_names":["nrennie/2024-plotnine-contest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nrennie/2024-plotnine-contest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrennie%2F2024-plotnine-contest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrennie%2F2024-plotnine-contest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrennie%2F2024-plotnine-contest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrennie%2F2024-plotnine-contest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nrennie","download_url":"https://codeload.github.com/nrennie/2024-plotnine-contest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrennie%2F2024-plotnine-contest/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262879793,"owners_count":23378681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-visualisation","plotnine","python"],"created_at":"2024-10-28T02:23:00.634Z","updated_at":"2025-07-01T01:35:56.673Z","avatar_url":"https://github.com/nrennie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2024 `plotnine` contest\n\nThis repository contains code for my entry in the [2024 Plotnine Contest](https://posit.co/blog/announcing-the-2024-plotnine-contest/). \n\n\u003cimg src=\"plot.png\" width=\"100%\" alt=\"area chart of carbon emissions\"\u003e\n\n## Data \n\nThe data is available from [github.com/rfordatascience/tidytuesday/blob/master/data/2024/2024-05-21/readme.md](https://github.com/rfordatascience/tidytuesday/blob/master/data/2024/2024-05-21/readme.md). The original data can be downloaded from [carbonmajors.org/Downloads](https://carbonmajors.org/Downloads). The Carbon Majors dataset is available for download and for non-commercial use, subject to InfluenceMap's [Terms and Conditions](https://influencemap.org/terms). The version used in this plot was downloaded in May 2024.\n\n## Code\n\nThe code to reproduce the figure can be found in `plot.py`, and the source code for a more detailed tutorial can be found in the `index.qmd` file which is deployed at [nrennie.github.io/2024-plotnine-contest](https://nrennie.github.io/2024-plotnine-contest). This site is deployed with GitHub Actions, demonstrating that the plot is fully reproducible.\n\nThis entry for the `plotnine` contest was inspired by a visualisation I previously created using `{ggplot2}` in R for [#TidyTuesday](https://github.com/rfordatascience/tidytuesday/blob/master/data/2024/2024-05-21/readme.md). You can see the original R version at [github.com/nrennie/tidytuesday/tree/main/2024/2024-05-21](https://github.com/nrennie/tidytuesday/tree/main/2024/2024-05-21).\n\n## Fonts\n\nThis plot uses `\"Arial\"` font. The code checks if 'Arial' is available on your operating system, and if it is not will use the default `sans` font instead. Alternatively, you change the variable `body_font` to the name of a font that you do have installed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrennie%2F2024-plotnine-contest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnrennie%2F2024-plotnine-contest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrennie%2F2024-plotnine-contest/lists"}