[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EQ72NE7M0790CB60K55WXY":3,"skill-same:01M7EQ72NE7M0790CB60K55WXY":47},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7EQ72NE7M0790CB60K55WXY","interactive-science-plots",null,"Building interactive scientific visualizations — Plotly\u002FBokeh dashboards, linked views, and exploratory data apps.","TanNhatCMS\u002Fjarvis","TanNhatCMS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113796420?v=4","01M753MV17KG5CD3152G3WQEQY","KietNT","01M7EKEDYVYQ6PWVJJMZ911VMX",0,"MIT","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-interactive-science-plots\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: interactive-science-plots\ndescription: Building interactive scientific visualizations — Plotly\u002FBokeh dashboards, linked views, and exploratory data apps.\ncategory: scientific\n---\n\n## Overview\n\nStatic figures present conclusions; interactive plots enable exploration —\nzooming into regions, hovering for values, toggling series, brushing\nlinked views. This skill covers building interactive scientific\nvisualizations with Plotly and Bokeh (plus lightweight dashboarding),\ndesigning interactions that answer real questions, and the performance\nand reproducibility practices interactive work demands.\n\n## When to use\n\n- Exploring a large or high-dimensional dataset before committing to static figures\n- Sharing results with collaborators who need to interrogate the data themselves\n- Building a dashboard for monitoring experiments, instruments, or model runs\n- Presenting complex data (spectra, maps, time series) in talks or supplements\n- Deciding what deserves interactivity vs what should stay a static figure\n\n## Core concepts\n\n- **Interaction vocabulary:** hover (inspect values), zoom\u002Fpan (focus), brush\u002Fselect (subset), toggle (compare series), linked views (selection in one plot highlights in others) — each serves a question; gratuitous widgets are clutter.\n- **The exploration–explanation split:** interactive tools are for exploration and collaborator interrogation; papers still need static figures — design the interactive view to support the same conclusions, not to replace the argument.\n- **Data volume vs browser:** browsers choke beyond ~10⁵–10⁶ points — downsample (datashader), aggregate, or use WebGL traces; never ship a 50 MB HTML file.\n- **State and reproducibility:** an interactive session's conclusions should be capturable — exportable selections, URL parameters, or logged filter states — otherwise findings evaporate when the tab closes.\n- **Linked views:** the most powerful pattern — brushing a region in a scatter plot highlights corresponding rows in a table, map, and time series; implement with shared data sources (Bokeh ColumnDataSource, Plotly selections).\n- **Progressive disclosure:** overview first, zoom\u002Ffilter, details on demand (Shneiderman's mantra) — don't dump all dimensions at once.\n\n- **Brushing and linking:** selecting in one view highlights the same records in all others — the core interaction for multidimensional data; implement with shared data sources, not duplicated state.\n- **Level of detail:** show aggregates at overview zoom, individual points on zoom-in — datashader-style dynamic rendering keeps million-point datasets explorable without browser meltdown.\n- **Provenance of interactions:** log the filter\u002Fselection state that produced an insight (URL parameters, exported subsets) — otherwise discoveries made by dragging sliders evaporate when the tab closes.\n\n## Practical workflow\n\n### 1. Choose the stack\n\n```python\nimport plotly.express as px\n# Plotly: fastest path to rich interactivity, exports to self-contained HTML\nfig = px.scatter(df, x=\"x\", y=\"y\", color=\"group\", hover_data=[\"id\", \"value\"],\n                 marginal_x=\"histogram\")\nfig.write_html(\"explore.html\", include_plotlyjs=\"cdn\")\n```\n\n1. **Plotly:** best default — expressive, good docs, self-contained HTML export; Plotly Express for speed, graph_objects for control.\n2. **Bokeh:** better for streaming data and custom linked dashboards; steeper learning curve.\n3. **Panel\u002FStreamlit\u002FDash:** when you need a real app (controls, layouts, callbacks) rather than a plot — Streamlit for fastest prototyping, Dash for production.\n4. **Datashader + HoloViews:** for genuinely big data (10⁷+ points) — rasterize server-side, interact client-side.\n\n### 2. Design the interactions\n\n1. Start from questions: \"which points are outliers?\", \"how does this region behave over time?\", \"do groups separate?\" — one interaction per question.\n2. Implement linked views for multidimensional data: select in the scatter, see the spectra\u002Fmap\u002Ftime series update.\n3. Add hover templates with the identifiers and values a scientist actually needs (sample ID, coordinates, uncertainty) — default hovers waste the opportunity.\n\n### 3. Handle scale\n\n1. Downsample intelligently for display (stratified or density-preserving), but keep full data behind selections where feasible.\n2. Use WebGL rendering (scattergl) for 10⁴–10⁶ points; datashader beyond that.\n3. Lazy-load: don't embed multi-MB datasets in HTML when a data server (or parquet + range queries) will do.\n\n### 4. Share and preserve\n\n1. Export self-contained HTML for collaborators (note the Plotly.js CDN vs inline trade-off: inline works offline, CDN keeps files small).\n2. For dashboards: pin dependency versions, document the data source and refresh logic — a dashboard showing stale data silently is worse than none.\n3. Capture conclusions: \"export selection\" buttons, snapshot URLs, or companion notebooks that regenerate the key static figures from the same data.\n\n### 5. Build a linked-view explorer\n\n1. Choose 2–4 complementary views (scatter, histogram, map, time series) sharing one data source — each view answers a different question about the same records.\n2. Implement cross-filtering: brushing the scatter filters the histogram and highlights map points — test that selections propagate in all directions.\n3. Add an \"export selection\" button writing the current subset to CSV with the filter parameters in the header — this closes the exploration-to-analysis loop.\n\n## Common pitfalls\n\n- **Interactivity as a substitute for a conclusion:** an explorer that lets users \"see for themselves\" still needs the author's interpretation stated.\n- **Browser meltdown:** dumping 10⁷ raw points into a DOM-based plot — downsample or rasterize.\n- **Unreproducible exploration:** findings discovered by dragging sliders, with no record of the state — log or export the view parameters.\n- **Stale dashboards:** live-looking dashboards on dead data pipelines — monitor freshness and display the last-update time prominently.\n- **Hover-only information:** critical values available only on hover are invisible in screenshots and print — keep key numbers in the static layer too.\n- **Over-widgeting:** twelve dropdowns where two would do — every control must earn its place by answering a real question.\n- **Unshared state bugs:** views drifting out of sync because each holds its own copy of the data — single source of truth, always.\n- **Performance cliff at scale:** DOM-based rendering dies past ~10⁵ points — switch to canvas\u002FWebGL or server-side rasterization before users discover the cliff.\n","## Overview\n\nStatic figures present conclusions; interactive plots enable exploration —\nzooming into regions, hovering for values, toggling series, brushing\nlinked views. This skill covers building interactive scientific\nvisualizations with Plotly and Bokeh (plus lightweight dashboarding),\ndesigning interactions that answer real questions, and the performance\nand reproducibility practices interactive work demands.\n\n## When to use\n\n- Exploring a large or high-dimensional dataset before committing to static figures\n- Sharing results with collaborators who need to interrogate the data themselves\n- Building a dashboard for monitoring experiments, instruments, or model runs\n- Presenting complex data (spectra, maps, time series) in talks or supplements\n- Deciding what deserves interactivity vs what should stay a static figure\n\n## Core concepts\n\n- **Interaction vocabulary:** hover (inspect values), zoom\u002Fpan (focus), brush\u002Fselect (subset), toggle (compare series), linked views (selection in one plot highlights in others) — each serves a question; gratuitous widgets are clutter.\n- **The exploration–explanation split:** interactive tools are for exploration and collaborator interrogation; papers still need static figures — design the interactive view to support the same conclusions, not to replace the argument.\n- **Data volume vs browser:** browsers choke beyond ~10⁵–10⁶ points — downsample (datashader), aggregate, or use WebGL traces; never ship a 50 MB HTML file.\n- **State and reproducibility:** an interactive session's conclusions should be capturable — exportable selections, URL parameters, or logged filter states — otherwise findings evaporate when the tab closes.\n- **Linked views:** the most powerful pattern — brushing a region in a scatter plot highlights corresponding rows in a table, map, and time series; implement with shared data sources (Bokeh ColumnDataSource, Plotly selections).\n- **Progressive disclosure:** overview first, zoom\u002Ffilter, details on demand (Shneiderman's mantra) — don't dump all dimensions at once.\n\n- **Brushing and linking:** selecting in one view highlights the same records in all others — the core interaction for multidimensional data; implement with shared data sources, not duplicated state.\n- **Level of detail:** show aggregates at overview zoom, individual points on zoom-in — datashader-style dynamic rendering keeps million-point datasets explorable without browser meltdown.\n- **Provenance of interactions:** log the filter\u002Fselection state that produced an insight (URL parameters, exported subsets) — otherwise discoveries made by dragging sliders evaporate when the tab closes.\n\n## Practical workflow\n\n### 1. Choose the stack\n\n```python\nimport plotly.express as px\n# Plotly: fastest path to rich interactivity, exports to self-contained HTML\nfig = px.scatter(df, x=\"x\", y=\"y\", color=\"group\", hover_data=[\"id\", \"value\"],\n                 marginal_x=\"histogram\")\nfig.write_html(\"explore.html\", include_plotlyjs=\"cdn\")\n```\n\n1. **Plotly:** best default — expressive, good docs, self-contained HTML export; Plotly Express for speed, graph_objects for control.\n2. **Bokeh:** better for streaming data and custom linked dashboards; steeper learning curve.\n3. **Panel\u002FStreamlit\u002FDash:** when you need a real app (controls, layouts, callbacks) rather than a plot — Streamlit for fastest prototyping, Dash for production.\n4. **Datashader + HoloViews:** for genuinely big data (10⁷+ points) — rasterize server-side, interact client-side.\n\n### 2. Design the interactions\n\n1. Start from questions: \"which points are outliers?\", \"how does this region behave over time?\", \"do groups separate?\" — one interaction per question.\n2. Implement linked views for multidimensional data: select in the scatter, see the spectra\u002Fmap\u002Ftime series update.\n3. Add hover templates with the identifiers and values a scientist actually needs (sample ID, coordinates, uncertainty) — default hovers waste the opportunity.\n\n### 3. Handle scale\n\n1. Downsample intelligently for display (stratified or density-preserving), but keep full data behind selections where feasible.\n2. Use WebGL rendering (scattergl) for 10⁴–10⁶ points; datashader beyond that.\n3. Lazy-load: don't embed multi-MB datasets in HTML when a data server (or parquet + range queries) will do.\n\n### 4. Share and preserve\n\n1. Export self-contained HTML for collaborators (note the Plotly.js CDN vs inline trade-off: inline works offline, CDN keeps files small).\n2. For dashboards: pin dependency versions, document the data source and refresh logic — a dashboard showing stale data silently is worse than none.\n3. Capture conclusions: \"export selection\" buttons, snapshot URLs, or companion notebooks that regenerate the key static figures from the same data.\n\n### 5. Build a linked-view explorer\n\n1. Choose 2–4 complementary views (scatter, histogram, map, time series) sharing one data source — each view answers a different question about the same records.\n2. Implement cross-filtering: brushing the scatter filters the histogram and highlights map points — test that selections propagate in all directions.\n3. Add an \"export selection\" button writing the current subset to CSV with the filter parameters in the header — this closes the exploration-to-analysis loop.\n\n## Common pitfalls\n\n- **Interactivity as a substitute for a conclusion:** an explorer that lets users \"see for themselves\" still needs the author's interpretation stated.\n- **Browser meltdown:** dumping 10⁷ raw points into a DOM-based plot — downsample or rasterize.\n- **Unreproducible exploration:** findings discovered by dragging sliders, with no record of the state — log or export the view parameters.\n- **Stale dashboards:** live-looking dashboards on dead data pipelines — monitor freshness and display the last-update time prominently.\n- **Hover-only information:** critical values available only on hover are invisible in screenshots and print — keep key numbers in the static layer too.\n- **Over-widgeting:** twelve dropdowns where two would do — every control must earn its place by answering a real question.\n- **Unshared state bugs:** views drifting out of sync because each holds its own copy of the data — single source of truth, always.\n- **Performance cliff at scale:** DOM-based rendering dies past ~10⁵ points — switch to canvas\u002FWebGL or server-side rasterization before users discover the cliff.\n",{"name":5,"category":24,"description":7},"scientific","main","af388a77c2fe5e0b4fd879cca4300a0ffa9a6579","skills\u002Fams-interactive-science-plots",1,"https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis","https:\u002F\u002Fgithub.com\u002FTanNhatCMS","https:\u002F\u002Fmrkiet.name.vn","2026-11-07 14:23:08",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add TanNhatCMS\u002Fjarvis --skill interactive-science-plots",{"tool":39,"command":40},"bunx","bunx skills add TanNhatCMS\u002Fjarvis --skill interactive-science-plots",{"tool":42,"command":43},"pnpm","pnpm dlx skills add TanNhatCMS\u002Fjarvis --skill interactive-science-plots","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fams-interactive-science-plots\u002FSKILL.md",true,[],[48,55,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7EWYJR0J8DARY7E59Z6Y9MV","web-scrape","Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open\u002Ffetch fails on JS-heavy pages, or when you need clean markdown\u002Fstructured extraction from a site. Requires FIRECRAWL_API_KEY.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fweb-scrape\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":59,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7EWYBN5P6F2AJG3FR24T9BP","design-taste-frontend","tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML\u002FCSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, \"AI-made\", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Ftaste-design\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":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EWY8FQFNQ2GB7NZZWGSSDX","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-tdd\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":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EWY5SHBFRH1HDHVWM9K7TV","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-debugging\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":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EWY3NM0Z0JAKS7HDZ24K66","requesting-code-review","Use when completing tasks, implementing major features, or before merging to verify work meets requirements","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-code-review\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":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EWY0WRMWX4M9ZFY0WKC593","brainstorming","You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).","https:\u002F\u002Fgithub.com\u002FTanNhatCMS\u002Fjarvis\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers-brainstorming\u002FSKILL.md",[],[]]