{"id":19329754,"url":"https://github.com/outerbounds/dynamic-card-examples","last_synced_at":"2025-07-27T04:39:05.525Z","repository":{"id":217238477,"uuid":"743361410","full_name":"outerbounds/dynamic-card-examples","owner":"outerbounds","description":"Examples of Metaflow Dynamic Cards","archived":false,"fork":false,"pushed_at":"2024-01-19T04:30:06.000Z","size":11463,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-26T12:46:38.798Z","etag":null,"topics":["charting","machine-learning","mlops","monitoring","observability","visualization"],"latest_commit_sha":null,"homepage":"https://docs.metaflow.org/metaflow/visualizing-results","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outerbounds.png","metadata":{"files":{"readme":"README.md","changelog":"change-layout/README.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-15T04:02:37.000Z","updated_at":"2024-10-27T04:08:55.000Z","dependencies_parsed_at":"2024-01-26T13:19:13.624Z","dependency_job_id":null,"html_url":"https://github.com/outerbounds/dynamic-card-examples","commit_stats":{"total_commits":33,"total_committers":1,"mean_commits":33.0,"dds":0.0,"last_synced_commit":"77584f2b3419abcfff2b3f7abd7130f2d8162fb1"},"previous_names":["outerbounds/dynamic-card-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outerbounds%2Fdynamic-card-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outerbounds%2Fdynamic-card-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outerbounds%2Fdynamic-card-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outerbounds%2Fdynamic-card-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outerbounds","download_url":"https://codeload.github.com/outerbounds/dynamic-card-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248611476,"owners_count":21133115,"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":["charting","machine-learning","mlops","monitoring","observability","visualization"],"created_at":"2024-11-10T02:29:46.904Z","updated_at":"2025-04-12T18:25:30.628Z","avatar_url":"https://github.com/outerbounds.png","language":"Python","funding_links":[],"categories":["Cards \u0026 Visualization"],"sub_categories":[],"readme":"\n# Gallery of Metaflow Dynamic Cards\n\n![](images/rtcard-all.gif)\n\nImagine a long-running task, like training of an ML/AI model, a data processing task,\nor a task communicating with an external service. In all these cases, it is useful to\nknow how the task is performing, how fast it is making progress, and get a sneak peek\nto its results *while the task is running*.\n\nMetaflow allows you to [orchestrate even large compute tasks](https://docs.metaflow.org/scaling/introduction)\neasily, which you can then [monitor live using dynamic cards](https://docs.metaflow.org/metaflow/visualizing-results).\nThis repository contains a gallery of dynamic cards, showing how you can apply them in various use cases.\n\n## Starter Examples\n\nTake a look at these simple examples to get started:\n\n - [Basic Progress Bar](basic-progressbar) - a simple progress bar.\n - [Basic Chart](basic-chart) - A simple updating line chart.\n - [Basic Altair](basic-altair) - An interactive chart made with the Altair library.\n - [Updating Altair](updating-altair) - An Altair chart with updating data.\n - [Map Visualization](map-chart) - Visualize geographical information.\n - [Changing Layout](change-layout) - Adding more elements on the fly.\n - [Many Progress Bars](many-progressbars) - Manage multiple elements in a table.\n\n## Monitoring Work\n\nDynamic cards are well suited for monitoring work that happens *concurrently* with visualization.\nDepending on the type of work you want to monitor (and libraries you use), a few different patterns come in handy:\n\n - [Monitor with callbacks](monitor-callback) - Using callbacks to monitor progress. In this case, XGBoost training.\n - [Monitoring a thread](monitor-thread) - Monitor work happening in a separate thread. In this case, DuckDB.\n - [Monitoring a subprocess](monitor-subprocess) - Monitor work happening in a subprocess. In this case, training with SciKit Learn.\n - [Monitoring a generator](monitor-events) - Monitor work happening in a separate generator or a co-routine.\n\n## Advanced Examples\n\nSimple things should be simple and complex things should be possible. Here are a few examples of more complex and advanced use cases:\n\n - [Custom Vega Chart](sparklines-progress) - An example of a custom Vega Lite chart, acting as a progress bar.\n - [Custom Card](custom-card) - A fully custom card using an external JS library. In this case, showing an interactive 3D scatter plot.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fouterbounds%2Fdynamic-card-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fouterbounds%2Fdynamic-card-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fouterbounds%2Fdynamic-card-examples/lists"}