but when I click examples it leads me to Gallery / D3 / Observable which is confusing for me and when I download source code of graphs, code DOES NOT HAVE ANY:
because downloaded code from examples does not have it. I mean after all I just want to learn d3.js not observable stuff because I find this complex. Or are you linked to d3.js?
D3.js was originally created by Mike Bostock, who founded ObservableHQ. So the two are at least related.
D3.js is baked into Observable, meaning you don’t have to do any imports in a notebook to start using D3.
If you want to play around with data visualisation I can highly recommend doing it here in Observable notebooks. You get a lot of things for free and the documentation is really good. Use the Snippets pane at upper right side of your notebook to help insert charts, input elements, tables etc:
Note that some of the examples have been rewritten to make them easier to use outside of Observable. You can find an overview of these updated charts here: