Crab scatter plot
✓ Published1🌍 Public
This example shows the relationship between fishing depth and catch per unit effort for horsehair crabs, with each point representing a single haul. It uses a D3.js (v7) scatter plot rendered as SVG, where the x-axis maps bottom depth and the y-axis shows CPUE. The code loads data from a CSV file via `d3.csv`, then builds the plot using `d3.scaleLinear` for axes, `d3.axisLeft` and `d3.axisBottom` for tick marks, and `d3.format` for comma-separated numeric labels. Tooltips display each point's exact coordinates.
AI-generated descriptionD3 Scatter Polt template
MIT Licensed