Currently we have two types of images in our doc repo. One is screenshots/logos which are easy to replace and the other is images of flowcharts/plots/diagrams which are living in the repo as binary files. These binary files are hard to reproduce as the committers who designed those had the original image and no longer maintaining those and the original source is lost in history. For those diagrams we should use dynamic image generation. Asciidoctor has a plugin named Asciidoctor Diagram which can generate images from plaintext. There are multiple supported backends. I have only used Gnuplot to generate the ports count graph in the dev-model and we can use others too. This will also require an additional package which is rubygem-asciidoctor-diagram and this needs to be added in the docproj before we commit this. We will also need gnuplot-lite to generate this specific graph. For other flowcharts/diagram we can chose from one of the possible backends mentioned in the link.
I have also removed the original image from static so that there is no confusion is arising from this testing.
For this specific case we will not need to manually replace the svg diagram and commit it but as mentioned by @pauamma we will just one line of data in the image section mentioning Year 2023 and the count. And the image will be auto generated.