Built with blockbuilder.org
this is an example of linear scale functionality to show how large variation data can be plotted in the limited space available in the chart.
Domain will have minimum and maximum value of data scale will have minimum and maximum value of the space available for chart to be drawn.
Continuous scale
d3.scaleLinear() --> continuous normal data
d3.scaleLog() --> in case some data is very small and other are large
d3.scaleTime() --> When working with date and datetime object
ordinal
d3.scaleBand() --> This is used for categorical data
https://d3js.org/d3.v4.min.js