CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 15:27:21 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"1a7df3650205fd812175cdfc1877ee5d"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=hnOHR0ZqHT42gCi6p9vl1PGduQSSyBrFEN8k%2B6pddy4ZV%2BDq5lQdWbMfsbnBu4wL1L2IfzRX9aXZm7A653OMYoGmhRwRSfhBCj%2FeqfHSfAzPtH6vFZXFraz5hwgdSExk%2BNBPwweduaRV%2B%2FksNFQCDQXdLZj%2BE4Ic6b2wy59SFnRtk4mnZpjRQG81LPhUjCQyaW180htUEiZvWxfjuvhojj7A8V2LEYu27B6JTm%2FNmurR%2BoLECEeZtA5fzaB2Q1TvKJYrr5EBEB6T9qmwHc9EEQ%3D%3D--ipnmxtTSExQclac%2B--netMwiEduBYu7GEFNz%2F%2FwQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.409863827.1752938841; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 15:27:21 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 15:27:21 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9432:2BEE38:617666:79F2FA:687BB959
Home · recharts/recharts Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Home
Pavel Vaněček edited this page Jan 9, 2025
·
11 revisions
We are using Storybook as a place to deploy and update Recharts documentation - Storybook link.
There is also API documentation available on https://recharts.org/en-US/api, and examples on https://recharts.org/en-US/examples.
The https://github.com/recharts/recharts/issues tab also has a large amount of answered (and unanswered) questions, so you may find inspiration there too.
- d3 upgraded their libraries to be ESM only - this means that any consumer of recharts that upgraded to these patch versions of recharts that used jest or next in their projects also broke as those libraries don't support ESM. We reverted this change in 2.1.15+ due to breaking our consumers.
- Due to reverting the above, we have been on d3-color@2 which includes a ReDos security vulnerability - issue link
- A non-breaking change is being worked on by replacing
d3
libraries withvictory-vendor/d3-*
. Please see this blogpost from victory about them facing this issue and open sources a cjs solution to the problem.-
victory-vendor
takes some select d3 libraries at their latest -> converts them from ESM to CJS -> then adds them back to npm. This is what we are using to prevent breaking our consumers.
-
- PR for vulnerability fix
- recharts is still very much built on d3 libraries. Please see the two questions above this one. We had to be able to upgrade d3 to avoid security vulnerabilities without breaking our consumers.
-
victory-vendor
is a commonjs proxy to d3@latest published by the victory team. This allowed us to upgrade d3 without breaking those using jest or next. -
what is next? Recharts must monitor
victory-vendor
as well as thed3
libraries. Recharts (and the ecosystem) may get to a point where we will have to require support for ESM. In that case we will used3
@latest and release a new major version.
- Yes.
- Recharts maintainers are volunteers and are contributing their own time and effort. We ask that you please be mindful of that while we try to solve some of the pressing issues in the library.
Clone this wiki locally
You can’t perform that action at this time.