This is the shortest path from a clone to a local dashboard.
From the repository root:
uv sync --lockedIf Windows reports a hardlink problem:
uv sync --locked --link-mode=copyCreate local_config.yaml. This file defines both the inputs and what the run
should produce:
root: artifacts
pipeline:
steps: [prepare, summarize, dashboard]
dashboard_mode: live
overwrite: false
runs:
- dir: C:\models\base\output
label: Base
- dir: C:\models\build\output
label: Build
zones:
use_maz: false
maz_col: zone_id
taz_col: TAZ
dashboard:
title: Regional Model Comparison
export:
output_path: exports/dashboard.htmlChange the two dir values to real ActivitySim output folders. The default
input names are final_households, final_persons, final_tours,
final_trips, final_joint_tour_participants, and final_land_use; each may be
CSV or Parquet.
If your files have different names, read File Names.
root is the visualizer's artifact location. Summary caches are written below
it, and relative export paths resolve below it. Keep the export path configured
even for a live workflow; switching from a live dashboard to an HTML file then
requires changing only pipeline.dashboard_mode from live to export.
uv run activitysim-viz --config local_config.yamlThe first run prepares data, builds summaries, and starts the dashboard at http://localhost:5006. Later runs reuse valid caches.
Stop the server with Ctrl+C.
Use this same command for live dashboards, HTML exports, and processor-only
workflows. Change the pipeline and dashboard sections in the config instead
of maintaining different launch commands.
Check these first:
- each
runs[*].direxists; - the expected tables are present as
.csvor.parquet; zones.use_maz,maz_col, andtaz_colmatch the model; and- the log names the missing file or column.
Then use Troubleshooting.