{"id":21760637,"url":"https://github.com/khuyentran1401/same-stats-different-graphs","last_synced_at":"2025-09-11T23:14:59.833Z","repository":{"id":57463733,"uuid":"250113399","full_name":"khuyentran1401/same-stats-different-graphs","owner":"khuyentran1401","description":"Create datasets with different graphs but the same statistics","archived":false,"fork":false,"pushed_at":"2021-06-15T15:46:51.000Z","size":4438,"stargazers_count":20,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T03:51:18.778Z","etag":null,"topics":["autodesk","datascience","datavisualization","dataviz","python","samestatsdifferentgraph"],"latest_commit_sha":null,"homepage":"https://towardsdatascience.com/how-to-turn-a-dinosaur-dataset-into-a-circle-dataset-with-the-same-statistics-64136c2e2ca0","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/khuyentran1401.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}},"created_at":"2020-03-25T23:19:48.000Z","updated_at":"2024-05-21T18:29:14.000Z","dependencies_parsed_at":"2022-09-17T08:00:21.615Z","dependency_job_id":null,"html_url":"https://github.com/khuyentran1401/same-stats-different-graphs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuyentran1401%2Fsame-stats-different-graphs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuyentran1401%2Fsame-stats-different-graphs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuyentran1401%2Fsame-stats-different-graphs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khuyentran1401%2Fsame-stats-different-graphs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khuyentran1401","download_url":"https://codeload.github.com/khuyentran1401/same-stats-different-graphs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465307,"owners_count":21108243,"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":["autodesk","datascience","datavisualization","dataviz","python","samestatsdifferentgraph"],"created_at":"2024-11-26T11:44:54.906Z","updated_at":"2025-04-13T12:50:46.092Z","avatar_url":"https://github.com/khuyentran1401.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Same Stats Different Graphs\n\nA Python tool to create datasets whose graphs are different from one another but their statistics are the same. This is a modified version of the code provided at [Autodesk](https://www.autodesk.com/research/publications/same-stats-different-graphs). \n\nThis library makes it easy for you to turn one shape into another and create GIFs for this transformation on the command line.\n\n## Installation\nTo install the package, type:\n```bash\npip install same-stats\n```\n\n## Usage\nTo turn a dinosaur shape into a bull eye shape, type:\n```bash\npython -m same_stats --shape_start=dino --shape_end=bullseye\n```\nAnd a GIF like below will be saved to the `gifs` directory as `dino_bullseye.gif`:\n![gif](https://github.com/khuyentran1401/same-stats-different-graphs/blob/master/gifs/dino_bullseye.gif?raw=True)\n\nArgument options:\n* `--shape_start`: Shape start. \n    Options: `dino`, `rando`, `slant`, `big_slant`\n* `--shape_end`: Target shape. \n    Options: `x`, `h_lines`, `v_lines`, `wide_lines`, `high_lines`,`slant_up`, `slant_down`, `center`, `star`, `down_parab`, `circle`,`bullseye`, `dots`\n* `--iters`: Number of iteration\n* `--decimals`: Number of decimals\n* `--frames`: Number of frames\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhuyentran1401%2Fsame-stats-different-graphs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhuyentran1401%2Fsame-stats-different-graphs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhuyentran1401%2Fsame-stats-different-graphs/lists"}