{"id":23626368,"url":"https://github.com/yetanalytics/victorious","last_synced_at":"2025-08-15T15:25:40.194Z","repository":{"id":72025818,"uuid":"168762776","full_name":"yetanalytics/victorious","owner":"yetanalytics","description":"A tiny wrapper for Formidable Labs' excellent React charting library Victory","archived":false,"fork":false,"pushed_at":"2019-02-09T05:12:34.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-12-27T23:13:27.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/yetanalytics.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":"2019-02-01T21:30:51.000Z","updated_at":"2023-03-22T04:28:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"72889d4f-91df-4a6e-adb2-535aa17a1fe8","html_url":"https://github.com/yetanalytics/victorious","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/yetanalytics%2Fvictorious","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Fvictorious/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Fvictorious/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Fvictorious/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yetanalytics","download_url":"https://codeload.github.com/yetanalytics/victorious/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239533844,"owners_count":19654770,"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":[],"created_at":"2024-12-27T22:53:08.082Z","updated_at":"2025-02-18T19:26:02.558Z","avatar_url":"https://github.com/yetanalytics.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# victorious\n\nA tiny little wrapper for [Formidable Labs' Victory](https://formidable.com/open-source/victory/) charting library for React + Reagent.\n\n## Overview\n\n`victorious` is intended to be easy to call and use in a way that feels familiar to Reagent users. The Victory component API is wrapped and presented in Cljs as kebab-cased component functions. For example, `Victory.VictoryPie` -\u003e `com.yetanalytics.victorious/pie`. Here's a pie chart in Clojurescript:\n\n    (ns ...\n      (:require\n        [reagent.core :as r]\n        [com.yetanalytics.victorious :as v] ...))\n\n    ...\n\n    [v/pie {:color-scale [\"tomato\" \"orange\" \"gold\" \"cyan\" \"navy\"]\n            :data [{:x \"Cats\" :y 30} {:x \"Dogs\" :y 70}]}]\n\n    ...\n\nDynamic data is super easy, as are animations:\n\n    (def pie-data (r/atom [{:x \"Cats\" :y 30} {:x \"Dogs\" :y 70}]))\n    ...\n    [v/pie {:color-scale [\"tomato\" \"orange\" \"gold\" \"cyan\" \"navy\"]\n            :animate {:duration 2000\n                      :easing \"bounce\"}\n            :data @pie-data}]\n\nAnd composition works just like it does in vanilla JSX victory:\n\n    [v/chart {...props}\n      [v/line {...props}]]\n\n## Development\n\nTo get an interactive development environment run:\n\n    clojure -A:fig:build\n\n## License\n\nCopyright © 2019 Yet Analytics Inc.\n\nDistributed under the Eclipse Public License either version 1.0 or (at your option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetanalytics%2Fvictorious","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyetanalytics%2Fvictorious","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetanalytics%2Fvictorious/lists"}