It is a visualization framework and a front-end library of your web application. Data manipulation comes from the backend. This library creates a visualization for binding data and graphical elements to Document object modal
Learning curve - It takes a lot of time for developers to have a good understanding concepts Old browsers not supported Difficult for creative visual design graphs.
We will see how we can use this library in an application This library can be used in HTML or as npm library. Now we will see how we can use the library in html pages Installation is simple and you can include the cdn library in script tag of your HTML. It will have access to all objects of d3.js library
D3 has a concept of selector API like jquery selectors to select HTML dom elements In this example, used the select method to select boy element, Appending span element and add text to display it There are various selectors same like selectors in jqueryd3.select(‘tag’)- select the dom element like div/span/bodyd3.select(‘#id’) - select the elements based on idd3.select(‘.cssclass’)- select the elements based on CSS class This is a basic understanding of d3js library. I will post various examples with explanations in my future posts