I was wondering , how Uniswap is making the graph SVG of the pair ? is that a feature that i can use also ? Which API can i use ?
The SVG generation is part of the Uniswap v3 smart contract code. The Solidity source file that generates the NFT can be found here on GitHub.