This post describes how to build a very basic
connected scatter plot
with d3.js. Note that it is basically a
line chart with data points represented as
well. Learn more about the theory of connected scatter plot in
data-to-viz.com. This example works with d3.js v4
and v6
div
that will be modified by d3 later on.
svg
area. It specify the chart size and its
margin. Read more.
path
, and using the
d3.line
utility.
circle
, like for a
basic scatterplot.