{"id":5277,"library":"kedro-viz","title":"Kedro-Viz","description":"Kedro-Viz helps visualise Kedro data and analytics pipelines, offering a web-based UI to explore the structure and dependencies of projects. The current version is 12.3.0, and it follows a regular release cadence, typically with minor versions every 1-2 months addressing features, bug fixes, and compatibility with the Kedro framework.","status":"active","version":"12.3.0","language":"en","source_language":"en","source_url":"https://github.com/kedro-org/kedro-viz","tags":["data pipeline","visualization","kedro","mlops"],"install":[{"cmd":"pip install kedro-viz","lang":"bash","label":"Install Kedro-Viz"}],"dependencies":[{"reason":"Kedro-Viz visualises Kedro projects and pipelines; a Kedro installation is required for its primary use case.","package":"kedro","optional":false}],"imports":[{"note":"While `run_viz` can be imported programmatically, Kedro-Viz is most commonly used via the `kedro viz` CLI command within a Kedro project or `%run_viz` Jupyter magic. This import is for direct programmatic control.","symbol":"run_viz","correct":"from kedro_viz.server import run_viz"}],"quickstart":{"code":"import os\nfrom kedro.framework.session import KedroSession\nfrom kedro.framework.startup import bootstrap_project\nfrom kedro_viz.server import run_viz\n\n# Simulate a minimal Kedro project structure for quickstart\nproject_path = './my_kedro_project'\nif not os.path.exists(project_path):\n    os.makedirs(os.path.join(project_path, 'src', 'my_kedro_project', 'pipelines', 'data_processing'))\n    with open(os.path.join(project_path, 'pyproject.toml'), 'w') as f:\n        f.write('[tool.kedro]\\npackage_name = \"my_kedro_project\"')\n    with open(os.path.join(project_path, 'src', 'my_kedro_project', 'pipeline_registry.py'), 'w') as f:\n        f.write(\"\"\"\nfrom kedro.pipeline import Pipeline, node\n\ndef create_pipeline(**kwargs):\n    return Pipeline([\n        node(lambda x: x + 1, 'input_data', 'intermediate_data', name='add_one_node'),\n        node(lambda x: x * 2, 'intermediate_data', 'output_data', name='multiply_two_node')\n    ])\n\ndef register_pipelines():\n    return {\n        \"__default__\": create_pipeline()\n    }\n\"\"\")\n    with open(os.path.join(project_path, 'src', 'my_kedro_project', '__init__.py'), 'w') as f:\n        f.write('')\n\n# Bootstrap the Kedro project\nos.chdir(project_path)\nbootstrap_project(project_path)\n\n# Run Kedro-Viz programmatically (this will open in your browser)\nprint(f\"Running Kedro-Viz for project at {project_path}. Access it in your browser, typically at http://127.0.0.1:4141\")\nrun_viz(project_path=project_path, port=4141, autoreload=False)","lang":"python","description":"This quickstart demonstrates how to run Kedro-Viz programmatically for a minimal Kedro project. In a real scenario, you would navigate to your Kedro project directory in the terminal and run `kedro viz`, or use `%load_ext kedro.ipython` and then `%run_viz` within a Jupyter notebook."},"warnings":[{"fix":"Upgrade your Python environment to 3.10 or a later supported version. The current minimum is 3.10.","message":"Kedro-Viz v12.2.0 dropped support for Python 3.9. Users on Python 3.9 or older must upgrade their Python version to 3.10 or newer.","severity":"breaking","affected_versions":">=12.2.0"},{"fix":"Ensure your Kedro project is upgraded to Kedro 0.19.x or newer (and ideally Kedro 1.x for forward compatibility). Refer to Kedro's migration guides for upgrading your project.","message":"Kedro-Viz v12.0.0 removed support for Kedro 0.x series. Projects using older Kedro versions will not be visualised correctly.","severity":"breaking","affected_versions":">=12.0.0"},{"fix":"Migrate away from the built-in Experiment Tracking feature. Consider using dedicated MLOps platforms or external tools for experiment tracking.","message":"Kedro-Viz v11.0.0 removed the Experiment Tracking feature. Any workflows relying on this feature for visualization will no longer function.","severity":"breaking","affected_versions":">=11.0.0"},{"fix":"Always execute `kedro viz` from the root directory of your Kedro project. Verify that your Kedro library version is compatible with your installed `kedro-viz` version.","message":"Running `kedro viz` outside a Kedro project directory or with an incompatible Kedro version can lead to errors or an empty visualization.","severity":"gotcha","affected_versions":"All"}],"env_vars":null,"last_verified":"2026-04-13T00:00:00.000Z","next_check":"2026-07-12T00:00:00.000Z"}