Finally after learning and struggling for 2 days, I have learnt to plot bar chart using D3.js. I have uploaded the chart here Bitcoin Price Visualization (bitcoin-price-change-d3.netlify.app)
and Bitcoin Price Visualization (bitcoin-percentage-change-d3.netlify.app)
and you can view the source code here at croy47/BarChart_Using_D3 (github.com)
I have spent hours learning it. Please give me your feedback. This is not a FCC Project, after learning on their youtube channel and finishing the D3 section here on the FCC website, I made this for practice.