[charts][docs] Fix broken link to D3 #19020
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This used to work, proof: https://github.com/d3/d3-shape/tree/v2.0.0?tab=readme-ov-file#stack-orders, but the docs got moved afterward.
Preview: https://deploy-preview-19020--material-ui-x.netlify.app/x/react-charts/stacking/#stacking-strategy
Off-topic. I landed here trying to use the stacking feature with an LLM. (v0, MUI Chat, Bolt, Lovable, etc).
But, if you add some level of confusion in the request, it fails ❌: https://chat.mui.com/chat/edit-07wYP8b4BFjdCDg56cfU. It's like it struggles to turn https://deploy-preview-19020--material-ui-x.netlify.app/x/react-charts/stacking/#stack-offset into code. I think this emphasizes how important https://www.notion.so/mui-org/docs-infra-Meeting-2025-08-01-242cbfe7b6608078ad3adcfa5cdc2412?source=copy_link#242cbfe7b66080c48257f51086a36c6d is. I myself struggle to make sense of the docs, I need to read the demo's source carefully to understand, it feels like there are too many hops, so should have simpler code examples, for humans and LLMs. cc @mapache-salvaje for context.