Skip to main content
100%

Scatter Plot w. 1 Ordered Attribute

✓ Published1🌍 Public
KKanishka33
Last edited Jun 4, 2020
Created on Jun 4, 2020

This scatter plot displays the relationship between fish length and sex, with the ordered attribute "Length" on the x-axis and the categorical "Sex" on the y-axis. It uses D3 v5’s `scaleLinear` and `scalePoint` to map data to SVG coordinates, with `axisBottom` and `axisLeft` for gridlines. The data is loaded from a CSV file using D3’s `csv` method, and circles are appended to an SVG group with a fixed radius.

AI-generated description
MIT Licensed

Similar vizzes