Making a Scatter Plot
This example shows a minimal scatter plot built with D3 v6 in a React framework, rendering to SVG. It demonstrates how to create a basic chart from scratch using the D3 library, with data points positioned via the `d3.scalePoint` or `d3.scaleLinear` scale. The code includes a simple `index.html` page that loads D3 and a bundled JavaScript file, which uses D3 selections to append circles to the SVG element. The visualization is intentionally bare-bones, focusing on the core mechanics of setting up scales and shapes, with styling provided by an external CSS file.