Trading view calculates the market cap for bitcoin and doge. I don't know how the market cap is precisely calculated by them. However, for the sake of exploration, I'm going to assume it is simply taking the available supply and multiplying it by the price of one coin. From there, we can use arithmetic to plot the total supply.
market cap = supply * price
supply...