Skip to main content
100%

Activity6_tutorial3_question6

✓ Published0🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

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
MIT Licensed

Similar vizzes