🌍 Public
Viewing a saved revision (read-only)
95293e3257eb41bc9b819c041aaa6e20
Activity6_tutorial3_question6
A scatter plot uses D3.js v7 to visualize five data points with x and y coordinates, rendered as distinct SVG symbols (circles, squares, and triangles). The `scatterPlot` function applies `scaleLinear` for both axes and `scaleOrdinal` for symbol types, while the `axes` module generates axis labels via `axisBottom` and `axisLeft`. The data is hardcoded in `index.js`, and symbols are drawn using D3's `symbol` generator with `symbolCircle`, `symbolSquare`, and `symbolTriangle`.
AI-generated description