[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FD8E2SKY8AT2B1HZRFDYSW":3,"skill-same:01M7FD8E2SKY8AT2B1HZRFDYSW":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7FD8E2SKY8AT2B1HZRFDYSW","charts-and-figures",null,"Choose, author, and troubleshoot Vizro charts, figures, tables, and visual-vocabulary patterns with Plotly\u002FVizro APIs.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fvizro\u002Fsub-skills\u002Fcharts-and-figures\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: charts-and-figures\ndescription: \"Choose, author, and troubleshoot Vizro charts, figures, tables,\n  and visual-vocabulary patterns with Plotly\u002FVizro APIs.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Charts and Figures\n\nUse this sub-skill when the task asks what chart to use, how to write a Vizro\u002FPlotly figure, how to attach a figure\u002Ftable to a dashboard, or how to debug visual output.\n\nRoute elsewhere when the task is mainly about:\n- Dashboard\u002Fpage skeleton: `..\u002Fcore-dashboard-build\u002FSKILL.md`.\n- Filters\u002Fdata\u002Factions around a figure: `..\u002Fcore-components-data-actions\u002FSKILL.md`.\n- Deprecated AI chart-agent code: `..\u002Flegacy-ai-chart-agent\u002FSKILL.md`.\n\n## Preferred authoring pattern\n\nUse Vizro's Plotly Express wrappers for standard charts:\n\n```python\nimport vizro.models as vm\nimport vizro.plotly.express as px\n\nfig = px.scatter(\n    px.data.iris(),\n    x=\"sepal_width\",\n    y=\"sepal_length\",\n    color=\"species\",\n)\n\npage = vm.Page(title=\"Iris\", components=[vm.Graph(figure=fig)])\n```\n\nWhen users supply data and a visual goal, first decide chart semantics, then write code:\n\n1. Identify measures, dimensions, time fields, categorical fields, and intended comparison.\n2. Choose chart type from visual-vocabulary principles.\n3. Produce a small Plotly\u002FVizro snippet using explicit column names.\n4. Wrap it in `vm.Graph` or the relevant table\u002Fgrid component.\n5. Add filters\u002Fselectors only after the base figure works.\n\n## Chart selection heuristics\n\n- Time trend: line\u002Farea; use bars only for few discrete periods.\n- Category comparison: bar\u002Fcolumn; sort intentionally.\n- Distribution: histogram\u002Fbox\u002Fviolin depending on whether the user needs bins, summary, or group comparison.\n- Relationship\u002Fcorrelation: scatter\u002Fbubble; add color\u002Ffacet only when it clarifies.\n- Part-to-whole: stacked bar or treemap\u002Fsunburst for hierarchy; avoid pie for many categories.\n- Geospatial: map only when location is the analytic dimension; otherwise avoid decorative maps.\n- Table: use when exact values, sorting\u002Ffiltering, or row-level inspection matters more than visual pattern.\n\n## Custom charts\n\nUse custom chart callables when `vizro.plotly.express` wrappers do not cover the needed figure or the chart needs reusable parameters.\n\nKeep custom chart functions:\n\n- Pure and deterministic over input data\u002Farguments.\n- Returning a Plotly figure or Vizro-compatible figure object.\n- Small enough to test independently.\n- Free of server startup, file I\u002FO, and network calls unless explicitly required.\n\n## Tables and grids\n\n- Choose a table\u002Fgrid when users need exact values, drill-down, sorting\u002Ffiltering, or row selection.\n- For action-linked graph\u002Ftable behavior, route to `core-components-data-actions` after selecting the visual representation.\n- Validate table model fields with `scripts\u002Finspect_vizro_schema.py --models Table AgGrid` because table field names evolve.\n\n## Debug checklist\n\n- Does the DataFrame contain each referenced column with the expected dtype?\n- Does the chart render outside Vizro as a plain Plotly figure?\n- Is the figure passed to `vm.Graph(figure=...)`, not accidentally to a text\u002Fcard\u002Ftable field?\n- Are color\u002Ffacet\u002Fcategory orders explicit enough for the user's narrative?\n- Are filters using the same data source\u002Fcolumns as the chart?\n- If a chart is generated by an agent, validate\u002Fexecute the code locally before embedding in a dashboard.\n\n## Evidence anchors\n\n- `vizro-core\u002Fsrc\u002Fvizro\u002Fplotly\u002Fexpress.py`: wrapper API surface.\n- `vizro-core\u002Fsrc\u002Fvizro\u002Ffigures\u002Flibrary.py`: built-in figure helpers.\n- `vizro-core\u002Fsrc\u002Fvizro\u002Fmodels\u002Ftypes.py`: figure typing.\n- `vizro-core\u002Fdocs\u002Fpages\u002Fuser-guides\u002Fcustom-charts.md` and `table.md`.\n- `vizro-core\u002Fexamples\u002Fvisual-vocabulary\u002FREADME.md`.\n- `vizro-e2e-flow\u002Fskills\u002Fselecting-vizro-charts\u002Freferences\u002Fchart-best-practices.md`.\n","# Charts and Figures\n\nUse this sub-skill when the task asks what chart to use, how to write a Vizro\u002FPlotly figure, how to attach a figure\u002Ftable to a dashboard, or how to debug visual output.\n\nRoute elsewhere when the task is mainly about:\n- Dashboard\u002Fpage skeleton: `..\u002Fcore-dashboard-build\u002FSKILL.md`.\n- Filters\u002Fdata\u002Factions around a figure: `..\u002Fcore-components-data-actions\u002FSKILL.md`.\n- Deprecated AI chart-agent code: `..\u002Flegacy-ai-chart-agent\u002FSKILL.md`.\n\n## Preferred authoring pattern\n\nUse Vizro's Plotly Express wrappers for standard charts:\n\n```python\nimport vizro.models as vm\nimport vizro.plotly.express as px\n\nfig = px.scatter(\n    px.data.iris(),\n    x=\"sepal_width\",\n    y=\"sepal_length\",\n    color=\"species\",\n)\n\npage = vm.Page(title=\"Iris\", components=[vm.Graph(figure=fig)])\n```\n\nWhen users supply data and a visual goal, first decide chart semantics, then write code:\n\n1. Identify measures, dimensions, time fields, categorical fields, and intended comparison.\n2. Choose chart type from visual-vocabulary principles.\n3. Produce a small Plotly\u002FVizro snippet using explicit column names.\n4. Wrap it in `vm.Graph` or the relevant table\u002Fgrid component.\n5. Add filters\u002Fselectors only after the base figure works.\n\n## Chart selection heuristics\n\n- Time trend: line\u002Farea; use bars only for few discrete periods.\n- Category comparison: bar\u002Fcolumn; sort intentionally.\n- Distribution: histogram\u002Fbox\u002Fviolin depending on whether the user needs bins, summary, or group comparison.\n- Relationship\u002Fcorrelation: scatter\u002Fbubble; add color\u002Ffacet only when it clarifies.\n- Part-to-whole: stacked bar or treemap\u002Fsunburst for hierarchy; avoid pie for many categories.\n- Geospatial: map only when location is the analytic dimension; otherwise avoid decorative maps.\n- Table: use when exact values, sorting\u002Ffiltering, or row-level inspection matters more than visual pattern.\n\n## Custom charts\n\nUse custom chart callables when `vizro.plotly.express` wrappers do not cover the needed figure or the chart needs reusable parameters.\n\nKeep custom chart functions:\n\n- Pure and deterministic over input data\u002Farguments.\n- Returning a Plotly figure or Vizro-compatible figure object.\n- Small enough to test independently.\n- Free of server startup, file I\u002FO, and network calls unless explicitly required.\n\n## Tables and grids\n\n- Choose a table\u002Fgrid when users need exact values, drill-down, sorting\u002Ffiltering, or row selection.\n- For action-linked graph\u002Ftable behavior, route to `core-components-data-actions` after selecting the visual representation.\n- Validate table model fields with `scripts\u002Finspect_vizro_schema.py --models Table AgGrid` because table field names evolve.\n\n## Debug checklist\n\n- Does the DataFrame contain each referenced column with the expected dtype?\n- Does the chart render outside Vizro as a plain Plotly figure?\n- Is the figure passed to `vm.Graph(figure=...)`, not accidentally to a text\u002Fcard\u002Ftable field?\n- Are color\u002Ffacet\u002Fcategory orders explicit enough for the user's narrative?\n- Are filters using the same data source\u002Fcolumns as the chart?\n- If a chart is generated by an agent, validate\u002Fexecute the code locally before embedding in a dashboard.\n\n## Evidence anchors\n\n- `vizro-core\u002Fsrc\u002Fvizro\u002Fplotly\u002Fexpress.py`: wrapper API surface.\n- `vizro-core\u002Fsrc\u002Fvizro\u002Ffigures\u002Flibrary.py`: built-in figure helpers.\n- `vizro-core\u002Fsrc\u002Fvizro\u002Fmodels\u002Ftypes.py`: figure typing.\n- `vizro-core\u002Fdocs\u002Fpages\u002Fuser-guides\u002Fcustom-charts.md` and `table.md`.\n- `vizro-core\u002Fexamples\u002Fvisual-vocabulary\u002FREADME.md`.\n- `vizro-e2e-flow\u002Fskills\u002Fselecting-vizro-charts\u002Freferences\u002Fchart-best-practices.md`.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fvizro\u002Fsub-skills\u002Fcharts-and-figures",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill charts-and-figures",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill charts-and-figures",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill charts-and-figures","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fvizro\u002Fsub-skills\u002Fcharts-and-figures\u002FSKILL.md",[],[50,58,63,70,77,84],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":59,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":54,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]