Ice-06 : Scatter Plot
✓ Published0🌍 Public
This scatter plot shows the relationship between fish length and weight, with points colored by species using a categorical scale. The visualization loads CSV data from a GitHub gist and renders circles on an SVG canvas using D3 v7’s `d3.scaleLinear` for both axes, `d3.axisBottom` and `d3.axisLeft` for ticks, and `d3.schemeCategory10` for colors. The code defines margins, appends axis groups, and positions dots via `cx` and `cy` attributes. The data is parsed with `d3.csv`, converting numeric fields before scaling.
AI-generated descriptionMIT Licensed