[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DBYNXJJ7VB7NWYVRYRD61J":3,"skill-same:01M7DBYNXJJ7VB7NWYVRYRD61J":64},{"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":24,"commitSha":25,"skillDirectory":5,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7DBYNXJJ7VB7NWYVRYRD61J","d3",null,"Use when building, fixing or animating a chart with D3.js inside a React or Next.js app (barplot, scatterplot, line chart, treemap, map…). Covers the D3-for-math \u002F React-for-rendering split, margins and axes, responsiveness with a useDimensions hook, animation with Motion, and switching from SVG to canvas for large datasets. Not for vanilla D3 projects without React.","holtzy\u002Fdataviz-skills","holtzy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10254401?v=4","01M7DBYM5PP8FX5TBCC2P50RC5","Holtz Yan","01M7DBYM6BV0BBEC3DVNWEQG1Y",20,"MIT","https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills\u002Fblob\u002Fmain\u002Fd3\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: d3\ndescription: Use when building, fixing or animating a chart with D3.js inside a React or Next.js app (barplot, scatterplot, line chart, treemap, map…). Covers the D3-for-math \u002F React-for-rendering split, margins and axes, responsiveness with a useDimensions hook, animation with Motion, and switching from SVG to canvas for large datasets. Not for vanilla D3 projects without React.\n---\n\n# D3 + React\n\nBuild charts where **D3 does the math and React does the rendering**. Every chart follows the same skeleton: compute with D3, render JSX.\n\n## 1. D3 for math only\n\nD3 modules split in two families:\n\n- **Math** (use them): `d3-scale`, `d3-shape`, `d3-array`, `d3-hierarchy`, `d3-geo`, `d3-force`, `d3-interpolate`, `d3-format`, `d3-time-format`… Numbers in, numbers or path strings out.\n- **Rendering** (don't use them): `d3-selection`, `d3-transition`. No `d3.select()`, `.append()`, `.attr()`, `.data().join()` or `.transition()`.\n\nReact renders every element in JSX and loops with `.map()`:\n\n```jsx\nconst xScale = d3.scaleLinear().domain([0, d3.max(data, (d) => d.value)]).range([0, boundsWidth]);\n\nreturn data.map((d) => (\n  \u003Crect key={d.id} x={0} y={yScale(d.name)} width={xScale(d.value)} height={yScale.bandwidth()} \u002F>\n));\n```\n\nFor a path, call the D3 generator and pass the string to `d`:\n\n```jsx\nconst linePath = d3.line().x((d) => xScale(d.x)).y((d) => yScale(d.y))(data);\nreturn \u003Cpath d={linePath} fill=\"none\" stroke=\"currentColor\" \u002F>;\n```\n\nWhen adapting an online D3 example, keep its math and rewrite its `select\u002Fappend\u002Fattr` chain as JSX. `import * as d3 from \"d3\"` is fine; importing single modules (`import { scaleLinear } from \"d3-scale\"`) only matters for strict bundle-size goals.\n\n## 2. Margins and translation\n\nLeave room for the axes with a `MARGIN` object, compute the **bounds** dimensions, and shift everything into the bounds with a single `translate`:\n\n```jsx\nconst MARGIN = { top: 10, right: 30, bottom: 50, left: 30 };\n\nconst boundsWidth = width - MARGIN.right - MARGIN.left;\nconst boundsHeight = height - MARGIN.top - MARGIN.bottom;\n\nreturn (\n  \u003Csvg width={width} height={height}>\n    \u003Cg transform={`translate(${MARGIN.left}, ${MARGIN.top})`}>\n      {\u002F* every shape and axis goes here, in bounds coordinates *\u002F}\n    \u003C\u002Fg>\n  \u003C\u002Fsvg>\n);\n```\n\n- Scales map to the bounds: `.range([0, boundsWidth])` and `.range([boundsHeight, 0])`.\n- **Don't** bake margins into the scale range (`.range([MARGIN.left, width - MARGIN.right])`). It is common in D3 examples, but margin math then leaks into every scale, axis and shape.\n\n## 3. Axes are React components\n\nDraw axes in JSX with `scale.ticks()`, and size the tick count from the available pixels rather than a fixed number:\n\n```jsx\nconst TICK_LENGTH = 6;\n\nexport const AxisBottom = ({ xScale, pixelsPerTick }) => {\n  const range = xScale.range();\n  const numberOfTicksTarget = Math.floor((range[1] - range[0]) \u002F pixelsPerTick);\n\n  return (\n    \u003C>\n      \u003Cline x1={range[0]} x2={range[1]} stroke=\"currentColor\" \u002F>\n      {xScale.ticks(numberOfTicksTarget).map((value) => (\n        \u003Cg key={value} transform={`translate(${xScale(value)}, 0)`}>\n          \u003Cline y2={TICK_LENGTH} stroke=\"currentColor\" \u002F>\n          \u003Ctext style={{ fontSize: \"10px\", textAnchor: \"middle\", transform: \"translateY(20px)\" }}>{value}\u003C\u002Ftext>\n        \u003C\u002Fg>\n      ))}\n    \u003C\u002F>\n  );\n};\n\n\u002F\u002F Inside the bounds \u003Cg>: push the axis to the bottom\n\u003Cg transform={`translate(0, ${boundsHeight})`}>\n  \u003CAxisBottom xScale={xScale} pixelsPerTick={60} \u002F>\n\u003C\u002Fg>\n```\n\n`AxisLeft` is the same with `y` and `textAnchor: \"end\"`. `d3.axisBottom()` called inside a `useEffect` on a ref is an accepted fallback, and the only place D3 touches the DOM.\n\n## 4. Responsiveness: useDimensions + wrapper\n\nNever hardcode `width` and `height`. Every chart gets:\n\n1. **One shared hook**, `useDimensions`, in the project's hook folder (`hook\u002Fuse-dimensions.ts`, or the existing `hooks\u002F` folder). It measures a div and updates on resize. Write it once, following the contract in [references\u002Fresponsiveness.md](references\u002Fresponsiveness.md), and import it in every chart.\n2. **A non-responsive chart component** that takes `width` and `height` as props.\n3. **A responsive wrapper** that measures its div and forwards the size plus all other props. The wrapper does nothing else:\n\n```jsx\n\u002F\u002F Responsive component = wrapper that manages the dimensions and does nothing else\nexport const ResponsiveBarplot = (props) => {\n  const chartRef = useRef(null);\n\n  const chartSize = useDimensions(chartRef);\n\n  return (\n    \u003Cdiv ref={chartRef} style={{ width: '100%', height: '100%' }}>\n      \u003CBarplot\n        height={chartSize.height}\n        width={chartSize.width}\n        {...props} \u002F\u002F pass all the props\n      \u002F>\n    \u003C\u002Fdiv>\n  );\n};\n\n\u002F\u002F Non responsive component\nconst Barplot = ({ width, height, data }) => {\n  \u002F\u002F... dataviz code goes here\n}\n```\n\nParents render `\u003CResponsiveBarplot data={data} \u002F>` inside a container **with an explicit height**. The chart returns `null` while `width` or `height` is `0` (first render). Read [references\u002Fresponsiveness.md](references\u002Fresponsiveness.md) for the hook contract, the TypeScript wrapper, and the pitfalls (zero height, flex children, resize performance).\n\n## 5. SVG by default, canvas for performance\n\nUse **SVG** by default: declarative JSX, CSS, and event handlers on every shape.\n\nSwitch the marks to **canvas** when the DOM gets too heavy: thousands of marks (large scatterplots, dense heatmaps, big networks), many charts on one page, or hover effects that update every mark. Keep axes, labels and tooltips in SVG\u002FHTML layered on top. Read [references\u002Fcanvas.md](references\u002Fcanvas.md) before writing canvas code (layering, sharp rendering on retina screens, hover detection).\n\n## 6. Animation with Motion\n\nAnimate only change that matters: a dataset switch, or feedback on a user interaction. Don't animate the first render or anything that isn't changing. Keep it short: 80–150 ms for hover, 200–400 ms for transitions in tools, up to ~1 s in one-shot storytelling.\n\n- Small effects (hover color, tooltip fade): a plain **CSS transition**.\n- Marks moving, entering or leaving: **spring animations with [Motion](https:\u002F\u002Fmotion.dev)** (`npm install motion`, `import { motion, AnimatePresence } from \"motion\u002Freact\"`). Not `d3.transition`, which fights React for the DOM. `framer-motion` is the old name of the same library.\n\n```jsx\n\u003Cmotion.rect\n  key={d.id}                       \u002F\u002F stable id from the data, never the array index\n  animate={{ y: yScale(d.name), width: xScale(d.value) }}\n  transition={{ type: \"spring\", stiffness: 100, damping: 18 }}\n\u002F>\n```\n\nRead [references\u002Fanimation.md](references\u002Fanimation.md) for enter\u002Fexit with `AnimatePresence`, path morphing, line drawing, and reduced motion.\n\n## Checklist\n\n- [ ] No `d3.select`, `.append`, `.attr` or `d3.transition`: D3 computes, JSX renders.\n- [ ] `MARGIN` object, `boundsWidth` \u002F `boundsHeight`, one `translate` on the bounds `\u003Cg>`.\n- [ ] Axes as React components using `scale.ticks()` and `pixelsPerTick`.\n- [ ] Chart takes `width` \u002F `height` props, exported through a `Responsive*` wrapper using the shared `useDimensions` hook.\n- [ ] Early `return null` when `width` or `height` is `0`.\n- [ ] `key` is a stable id from the data, not the index.\n- [ ] SVG unless the mark count calls for canvas.\n- [ ] Animation only on data change or interaction, with Motion springs.\n\nWant to go further? These conventions come from the [D3 Loves React](https:\u002F\u002Fwww.d3-loves-react.com) course, with hundreds of examples in the [React Graph Gallery](https:\u002F\u002Fwww.react-graph-gallery.com).\n","# D3 + React\n\nBuild charts where **D3 does the math and React does the rendering**. Every chart follows the same skeleton: compute with D3, render JSX.\n\n## 1. D3 for math only\n\nD3 modules split in two families:\n\n- **Math** (use them): `d3-scale`, `d3-shape`, `d3-array`, `d3-hierarchy`, `d3-geo`, `d3-force`, `d3-interpolate`, `d3-format`, `d3-time-format`… Numbers in, numbers or path strings out.\n- **Rendering** (don't use them): `d3-selection`, `d3-transition`. No `d3.select()`, `.append()`, `.attr()`, `.data().join()` or `.transition()`.\n\nReact renders every element in JSX and loops with `.map()`:\n\n```jsx\nconst xScale = d3.scaleLinear().domain([0, d3.max(data, (d) => d.value)]).range([0, boundsWidth]);\n\nreturn data.map((d) => (\n  \u003Crect key={d.id} x={0} y={yScale(d.name)} width={xScale(d.value)} height={yScale.bandwidth()} \u002F>\n));\n```\n\nFor a path, call the D3 generator and pass the string to `d`:\n\n```jsx\nconst linePath = d3.line().x((d) => xScale(d.x)).y((d) => yScale(d.y))(data);\nreturn \u003Cpath d={linePath} fill=\"none\" stroke=\"currentColor\" \u002F>;\n```\n\nWhen adapting an online D3 example, keep its math and rewrite its `select\u002Fappend\u002Fattr` chain as JSX. `import * as d3 from \"d3\"` is fine; importing single modules (`import { scaleLinear } from \"d3-scale\"`) only matters for strict bundle-size goals.\n\n## 2. Margins and translation\n\nLeave room for the axes with a `MARGIN` object, compute the **bounds** dimensions, and shift everything into the bounds with a single `translate`:\n\n```jsx\nconst MARGIN = { top: 10, right: 30, bottom: 50, left: 30 };\n\nconst boundsWidth = width - MARGIN.right - MARGIN.left;\nconst boundsHeight = height - MARGIN.top - MARGIN.bottom;\n\nreturn (\n  \u003Csvg width={width} height={height}>\n    \u003Cg transform={`translate(${MARGIN.left}, ${MARGIN.top})`}>\n      {\u002F* every shape and axis goes here, in bounds coordinates *\u002F}\n    \u003C\u002Fg>\n  \u003C\u002Fsvg>\n);\n```\n\n- Scales map to the bounds: `.range([0, boundsWidth])` and `.range([boundsHeight, 0])`.\n- **Don't** bake margins into the scale range (`.range([MARGIN.left, width - MARGIN.right])`). It is common in D3 examples, but margin math then leaks into every scale, axis and shape.\n\n## 3. Axes are React components\n\nDraw axes in JSX with `scale.ticks()`, and size the tick count from the available pixels rather than a fixed number:\n\n```jsx\nconst TICK_LENGTH = 6;\n\nexport const AxisBottom = ({ xScale, pixelsPerTick }) => {\n  const range = xScale.range();\n  const numberOfTicksTarget = Math.floor((range[1] - range[0]) \u002F pixelsPerTick);\n\n  return (\n    \u003C>\n      \u003Cline x1={range[0]} x2={range[1]} stroke=\"currentColor\" \u002F>\n      {xScale.ticks(numberOfTicksTarget).map((value) => (\n        \u003Cg key={value} transform={`translate(${xScale(value)}, 0)`}>\n          \u003Cline y2={TICK_LENGTH} stroke=\"currentColor\" \u002F>\n          \u003Ctext style={{ fontSize: \"10px\", textAnchor: \"middle\", transform: \"translateY(20px)\" }}>{value}\u003C\u002Ftext>\n        \u003C\u002Fg>\n      ))}\n    \u003C\u002F>\n  );\n};\n\n\u002F\u002F Inside the bounds \u003Cg>: push the axis to the bottom\n\u003Cg transform={`translate(0, ${boundsHeight})`}>\n  \u003CAxisBottom xScale={xScale} pixelsPerTick={60} \u002F>\n\u003C\u002Fg>\n```\n\n`AxisLeft` is the same with `y` and `textAnchor: \"end\"`. `d3.axisBottom()` called inside a `useEffect` on a ref is an accepted fallback, and the only place D3 touches the DOM.\n\n## 4. Responsiveness: useDimensions + wrapper\n\nNever hardcode `width` and `height`. Every chart gets:\n\n1. **One shared hook**, `useDimensions`, in the project's hook folder (`hook\u002Fuse-dimensions.ts`, or the existing `hooks\u002F` folder). It measures a div and updates on resize. Write it once, following the contract in [references\u002Fresponsiveness.md](references\u002Fresponsiveness.md), and import it in every chart.\n2. **A non-responsive chart component** that takes `width` and `height` as props.\n3. **A responsive wrapper** that measures its div and forwards the size plus all other props. The wrapper does nothing else:\n\n```jsx\n\u002F\u002F Responsive component = wrapper that manages the dimensions and does nothing else\nexport const ResponsiveBarplot = (props) => {\n  const chartRef = useRef(null);\n\n  const chartSize = useDimensions(chartRef);\n\n  return (\n    \u003Cdiv ref={chartRef} style={{ width: '100%', height: '100%' }}>\n      \u003CBarplot\n        height={chartSize.height}\n        width={chartSize.width}\n        {...props} \u002F\u002F pass all the props\n      \u002F>\n    \u003C\u002Fdiv>\n  );\n};\n\n\u002F\u002F Non responsive component\nconst Barplot = ({ width, height, data }) => {\n  \u002F\u002F... dataviz code goes here\n}\n```\n\nParents render `\u003CResponsiveBarplot data={data} \u002F>` inside a container **with an explicit height**. The chart returns `null` while `width` or `height` is `0` (first render). Read [references\u002Fresponsiveness.md](references\u002Fresponsiveness.md) for the hook contract, the TypeScript wrapper, and the pitfalls (zero height, flex children, resize performance).\n\n## 5. SVG by default, canvas for performance\n\nUse **SVG** by default: declarative JSX, CSS, and event handlers on every shape.\n\nSwitch the marks to **canvas** when the DOM gets too heavy: thousands of marks (large scatterplots, dense heatmaps, big networks), many charts on one page, or hover effects that update every mark. Keep axes, labels and tooltips in SVG\u002FHTML layered on top. Read [references\u002Fcanvas.md](references\u002Fcanvas.md) before writing canvas code (layering, sharp rendering on retina screens, hover detection).\n\n## 6. Animation with Motion\n\nAnimate only change that matters: a dataset switch, or feedback on a user interaction. Don't animate the first render or anything that isn't changing. Keep it short: 80–150 ms for hover, 200–400 ms for transitions in tools, up to ~1 s in one-shot storytelling.\n\n- Small effects (hover color, tooltip fade): a plain **CSS transition**.\n- Marks moving, entering or leaving: **spring animations with [Motion](https:\u002F\u002Fmotion.dev)** (`npm install motion`, `import { motion, AnimatePresence } from \"motion\u002Freact\"`). Not `d3.transition`, which fights React for the DOM. `framer-motion` is the old name of the same library.\n\n```jsx\n\u003Cmotion.rect\n  key={d.id}                       \u002F\u002F stable id from the data, never the array index\n  animate={{ y: yScale(d.name), width: xScale(d.value) }}\n  transition={{ type: \"spring\", stiffness: 100, damping: 18 }}\n\u002F>\n```\n\nRead [references\u002Fanimation.md](references\u002Fanimation.md) for enter\u002Fexit with `AnimatePresence`, path morphing, line drawing, and reduced motion.\n\n## Checklist\n\n- [ ] No `d3.select`, `.append`, `.attr` or `d3.transition`: D3 computes, JSX renders.\n- [ ] `MARGIN` object, `boundsWidth` \u002F `boundsHeight`, one `translate` on the bounds `\u003Cg>`.\n- [ ] Axes as React components using `scale.ticks()` and `pixelsPerTick`.\n- [ ] Chart takes `width` \u002F `height` props, exported through a `Responsive*` wrapper using the shared `useDimensions` hook.\n- [ ] Early `return null` when `width` or `height` is `0`.\n- [ ] `key` is a stable id from the data, not the index.\n- [ ] SVG unless the mark count calls for canvas.\n- [ ] Animation only on data change or interaction, with Motion springs.\n\nWant to go further? These conventions come from the [D3 Loves React](https:\u002F\u002Fwww.d3-loves-react.com) course, with hundreds of examples in the [React Graph Gallery](https:\u002F\u002Fwww.react-graph-gallery.com).\n",{"name":5,"description":7},"main","22daf3642e9301f3a1af982101767ed879b3d33f",3,"https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills","https:\u002F\u002Fgithub.com\u002Fholtzy","https:\u002F\u002Fwww.yan-holtz.com","I ❤️ data visualization 🤷🏻‍♂️","2026-11-10 17:00:54",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add holtzy\u002Fdataviz-skills --skill d3",{"tool":38,"command":39},"bunx","bunx skills add holtzy\u002Fdataviz-skills --skill d3",{"tool":41,"command":42},"pnpm","pnpm dlx skills add holtzy\u002Fdataviz-skills --skill d3","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills\u002Fblob\u002Fmain\u002Fd3\u002FSKILL.md",true,[46,52,56,60],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"README.md","REFERENCE","参考文档",1124,"https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills\u002Fblob\u002Fmain\u002Fd3\u002FREADME.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fanimation.md",6566,"https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills\u002Fblob\u002Fmain\u002Fd3\u002Freferences\u002Fanimation.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcanvas.md",4504,"https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills\u002Fblob\u002Fmain\u002Fd3\u002Freferences\u002Fcanvas.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fresponsiveness.md",3320,"https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills\u002Fblob\u002Fmain\u002Fd3\u002Freferences\u002Fresponsiveness.md",[65,72,79,86],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7DBZHNHXJXZDDZ3WA9Z37JZ","new-dataviz-project","Scaffold a new web dataviz project with Yan Holtz's preferred stack - React, TypeScript, D3, shadcn\u002Fui + Tailwind, Lucide icons, Bitter \u002F Roboto \u002F Fira Mono fonts, a narrow reading column, a default barplot, and GitHub Pages deployment. Use when the user asks to create, start, scaffold or set up a new dataviz, chart, D3 or React visualization project or website.","https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills\u002Fblob\u002Fmain\u002Fnew-dataviz-project\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7DBZCK80S564CW20SXJGX2P","matplotlib","Create, improve, or reproduce Matplotlib charts with deliberate styling, typography, annotations, custom layouts, and maps. Use when producing Python visualizations or refining existing Matplotlib, Seaborn, or GeoPandas figures.","https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills\u002Fblob\u002Fmain\u002Fmatplotlib\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7DBYZ73A4RRKBWXCVDBDTKZ","inspiration","Use BEFORE writing any code that draws a chart, map, plot or dashboard (D3, ggplot2, Matplotlib, geopandas, plotly, Vega…), even for a one-line request like \"make a map of X\", \"fais-moi une carte de X\", \"visualise Z\", and even when the work starts with fetching data. Searches curated galleries of published dataviz as one catalog (dataviz-inspiration.com, Dataviz Index) for 3–5 real references to borrow ideas from — form, annotation, palette, layout — with links back to each source. Also use when asked for chart ideas, examples or references, or to improve a chart that looks generic. Triggers: carte, graphique, visualisation, dataviz, infographie, tableau de bord, chart, map, plot, graph, figure, dashboard, choropleth.","https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills\u002Fblob\u002Fmain\u002Finspiration\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7DBYTHR58QWTJDJATGBWXHM","ggplot2","Generate, review, or refactor ggplot2 code in R following an opinionated set of best practices. Use whenever the user writes ggplot2 code, asks for ggplot2 help, picks a theme, tweaks scales, sets up faceting, or exports a plot. R-specific.","https:\u002F\u002Fgithub.com\u002Fholtzy\u002Fdataviz-skills\u002Fblob\u002Fmain\u002Fggplot2\u002FSKILL.md",[],[]]