-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
In fact d3.js is not a chart library, It is a kind of big API to manipulate the DOM and offers a lot of utilities functions. You can manipulate svg, canvas, html and so construct charts, graphs, maps, everything you want for data visualization. The biggest advantage of using d3 is that every cool data visualization you've ever seen on the web are probably feasible using d3.js. The major drawback is d3.js may be overwhelming at first and is quite hard to learn in my opinion.
We are going to use restcountries API.
We have used several utilities methods from d3 part of the scale module to correctly map our axis with the datas (scaleLinear, scaleBand). If you open your navigator you see now an svg element with two axis but no data yet.
If you want to check the entire code : here