I want to implement a vertical bar charts using recharts. with given sample json
const data = [ { unitName: 'G02', tenantStartDate: '2023-07-12', tenantEndDate: '2028-07-11', }, { unitName: 'F01', tenantStartDate: '2021-08-31', tenantEndDate: '2023-03-11', }, { unitName: 'F01', tenantStartDate: '2023-07-12', tenantEndDate: '2028-07-11', }, ];
and I have added output graph view I have tried a lot and also I am beginner in graph implement should anyone help me to solve this
Requirements:->
bar fill is with respect to the current date and shows them in percentage below I am attached output view of graph
graph view
I have tried with some examples and edit some parts but the graph not getting as expected