chart-editing
Chart Editing
Edit .chart.yml files that define OWID Grapher chart configurations, then preview changes.
File Locations
- Chart configs:
etl/steps/graph/<namespace>/<version>/<short_name>.chart.yml - Schema:
schemas/chart-schema.json(read this to understand valid fields) - DAG definitions:
dag/graph/<namespace>.yml(maps graph steps to data dependencies)
Before Editing
- Read the schema at
schemas/chart-schema.jsonto understand all valid fields, enums, and nested structures - Read the target
.chart.ymlto understand current config - Check the DAG in
dag/graph/<namespace>.ymlto understand which dataset the chart depends on
Chart Config Formats
Simple format (single indicator)
More from owid/etl
update-dataset
End-to-end dataset update workflow with PR creation, snapshot, meadow, garden, and grapher steps. Use when user wants to update a dataset, refresh data, run ETL update, or mentions updating dataset versions.
49streamlit-app
Create or modify Streamlit apps in the Wizard. Use when building new wizard apps, adding Streamlit pages, or working with apps/wizard/ code.
49check-metadata-typos
Check .meta.yml and snapshot .dvc files for spelling typos using codespell. Use when user mentions typos, spelling errors, metadata quality, or wants to check metadata files for mistakes.
45vscode-extension-dev
Develop, build, and test VSCode extensions in this repo. Use when editing extension source code, compiling TypeScript, packaging .vsix files, or installing extensions for testing.
29check-chart-preview
Check chart or multidim preview on the staging server using a browser. Use when user wants to visually verify a chart renders correctly on staging, take a screenshot of a chart, or QA a chart/mdim preview.
25